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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user