From 74dc385a49a93445001f805e42242a62a5e18a98 Mon Sep 17 00:00:00 2001 From: Jali Date: Sat, 7 May 2022 20:07:03 +0200 Subject: [PATCH] Fix typo in import lines --- scraper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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))