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.
2 parents a4a757c + 74aeaec commit 3123644Copy full SHA for 3123644
classifier/classifier.py
@@ -41,7 +41,10 @@ def classify(formats, output):
41
folder = os.path.join(output, folder)
42
43
if file_ext in ext_list:
44
- moveto(file, directory, folder)
+ try:
45
+ moveto(file, directory, folder)
46
+ except Exception as e:
47
+ print('Cannot move file - {} - {}'.format(file, str(e)))
48
49
print("Done!")
50
0 commit comments