Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/matplotlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,9 @@ def _get_home():
except ImportError:
# This happens on Google App Engine (pwd module is not present).
pass
except UnicodeDecodeError:
# this happens on windows with py2k with non-ascii letters in the path
pass
else:
if os.path.isdir(path):
return path
Expand Down