We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a39338 commit 74aeaecCopy full SHA for 74aeaec
classifier/classifier.py
@@ -38,7 +38,10 @@ def classify(formats, output):
38
folder = os.path.join(output, folder)
39
40
if file_ext in ext_list:
41
- moveto(file, directory, folder)
+ try:
42
+ moveto(file, directory, folder)
43
+ except Exception as e:
44
+ print('Cannot move file - {} - {}'.format(file, str(e)))
45
46
print("Done!")
47
0 commit comments