encode exception header (#675)

pull/679/head
Kaalleen 2020-04-28 22:05:22 +02:00 zatwierdzone przez GitHub
rodzic cb2b4e3522
commit 588f098817
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -53,10 +53,10 @@ else:
print >> sys.stderr, shapely_errors.getvalue()
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 "
"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
sys.exit(1)
else: