Skip to content

Commit

Permalink
Merge pull request #2416 from jerneju/unicodedecode-errorreporting
Browse files Browse the repository at this point in the history
[FIX] Error Reporting: read attached schema file as utf8
  • Loading branch information
kernc authored Aug 23, 2017
2 parents 212d8a9 + 670a97c commit d9c030d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/canvas/application/errorreporting.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def _find_widget_frame(tb):
except Exception:
pass
data[F.WIDGET_SCHEME] = filename
with open(filename) as f:
with open(filename, encoding='utf-8') as f:
data['_' + F.WIDGET_SCHEME] = f.read()
data[F.VERSION] = VERSION_STR
data[F.ENVIRONMENT] = 'Python {} on {} {} {} {}'.format(
Expand Down

0 comments on commit d9c030d

Please sign in to comment.