diff --git a/scraper.py b/scraper.py index 3280b2d..2318383 100755 --- a/scraper.py +++ b/scraper.py @@ -10,6 +10,7 @@ import os from shutil import copyfile import xml.etree.cElementTree as xml + class Track(): """ Stores all the information of a track inside an object. @@ -41,7 +42,7 @@ def copy_file(track: Track, targetFolder) -> str: path = track.Location[7:] dst = os.path.join(targetFolder, os.path.basename(path)) if (os.path.exists(path)): - print('Copying file {0}', path) + print('Copying file {0}'.capitalizeformat(path)) copyfile(path, dst) else: print('File {0} not found.'.format(path))