Fix typo in import lines
This commit is contained in:
@@ -10,6 +10,7 @@ import os
|
|||||||
from shutil import copyfile
|
from shutil import copyfile
|
||||||
import xml.etree.cElementTree as xml
|
import xml.etree.cElementTree as xml
|
||||||
|
|
||||||
|
|
||||||
class Track():
|
class Track():
|
||||||
"""
|
"""
|
||||||
Stores all the information of a track inside an object.
|
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:]
|
path = track.Location[7:]
|
||||||
dst = os.path.join(targetFolder, os.path.basename(path))
|
dst = os.path.join(targetFolder, os.path.basename(path))
|
||||||
if (os.path.exists(path)):
|
if (os.path.exists(path)):
|
||||||
print('Copying file {0}', path)
|
print('Copying file {0}'.capitalizeformat(path))
|
||||||
copyfile(path, dst)
|
copyfile(path, dst)
|
||||||
else:
|
else:
|
||||||
print('File {0} not found.'.format(path))
|
print('File {0} not found.'.format(path))
|
||||||
|
|||||||
Reference in New Issue
Block a user