kopia lustrzana https://github.com/inkstitch/inkstitch
encode exception header (#675)
rodzic
cb2b4e3522
commit
588f098817
|
@ -53,10 +53,10 @@ else:
|
||||||
print >> sys.stderr, shapely_errors.getvalue()
|
print >> sys.stderr, shapely_errors.getvalue()
|
||||||
|
|
||||||
if exception:
|
if exception:
|
||||||
print >> sys.stderr, _("Ink/Stitch experienced an unexpected error.")
|
print >> sys.stderr, _("Ink/Stitch experienced an unexpected error.").encode("UTF-8")
|
||||||
print >> sys.stderr, _("If you'd like to help, please file an issue at "
|
print >> sys.stderr, _("If you'd like to help, please file an issue at "
|
||||||
"https://github.com/inkstitch/inkstitch/issues "
|
"https://github.com/inkstitch/inkstitch/issues "
|
||||||
"and include the entire error description below:"), "\n"
|
"and include the entire error description below:").encode("UTF-8"), "\n"
|
||||||
print >> sys.stderr, exception
|
print >> sys.stderr, exception
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
else:
|
else:
|
||||||
|
|
Ładowanie…
Reference in New Issue