Skip to content

Commit

Permalink
Open source files with utf-8 (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfx committed Sep 26, 2021
1 parent e54cb23 commit ad515e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MayaSublime.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def _sync_settings():
exec({cmd!r}, namespace, namespace)
else:
with open({fp!r}, 'rb') as _fp:
with open({fp!r}, encoding='utf-8') as _fp:
_code = compile(_fp.read(), {fp!r}, 'exec')
exec(_code, namespace, namespace)
Expand Down

0 comments on commit ad515e9

Please sign in to comment.