Fix using str instead of ustr for python2 compatibility.

This commit is contained in:
Olivier Mangin 2016-01-15 17:29:39 -05:00
parent 2720d13049
commit 35214e3012

View File

@ -87,7 +87,7 @@ class PrintUI(object):
if self.debug:
raise exc
else:
self.error(str(exc))
self.error(ustr(exc))
self.exit()