1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 15:39:43 +00:00

fix error format

This commit is contained in:
deadc0de6
2020-12-07 13:00:17 +01:00
parent 5b0a1f3a3d
commit 5c66a8ea83

View File

@@ -182,8 +182,9 @@ class Importer:
else:
shutil.copy2(dst, srcf)
except shutil.Error as e:
src = e.args[0][0][0]
why = e.args[0][0][2]
self.log.err('importing \"{}\" failed: {}'.format(dst, why))
self.log.err('importing \"{}\" failed: {}'.format(src, why))
return True