1
0

exception formatting: use repr(e) instead of str(e) in messages

repr(e) is more useful
This commit is contained in:
SomberNight
2019-01-17 17:16:19 +01:00
parent 44a2ceab3c
commit d77e4d8f5d
6 changed files with 7 additions and 7 deletions

View File

@@ -72,7 +72,7 @@ class CustomInstallCommand(install):
if not os.path.exists(path):
subprocess.call(["pyrcc5", "icons.qrc", "-o", path])
except Exception as e:
print('Warning: building icons file failed with {}'.format(e))
print('Warning: building icons file failed with {}'.format(repr(e)))
setup(