Skip to content

Commit

Permalink
Suppress unicode error in squash_python (due to formatting os.environ…
Browse files Browse the repository at this point in the history
… bytes into unicode str)
  • Loading branch information
codewarrior0 committed May 17, 2013
1 parent dbc7b9d commit f938201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcedit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ def _reportingChanged(val):
Settings.reportCrashes.addObserver(client, '_enabled', _reportingChanged)
client.reportErrors()
client.hook()
except ImportError:
except (ImportError, UnicodeError) as e:
pass

try:
Expand Down

0 comments on commit f938201

Please sign in to comment.