mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-09 05:59:15 +00:00
fix error format
This commit is contained in:
@@ -182,8 +182,9 @@ class Importer:
|
|||||||
else:
|
else:
|
||||||
shutil.copy2(dst, srcf)
|
shutil.copy2(dst, srcf)
|
||||||
except shutil.Error as e:
|
except shutil.Error as e:
|
||||||
|
src = e.args[0][0][0]
|
||||||
why = e.args[0][0][2]
|
why = e.args[0][0][2]
|
||||||
self.log.err('importing \"{}\" failed: {}'.format(dst, why))
|
self.log.err('importing \"{}\" failed: {}'.format(src, why))
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user