Fix typo in import lines
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user