We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dfeab5 commit 616f473Copy full SHA for 616f473
lib/matplotlib/__init__.py
@@ -523,7 +523,7 @@ def _get_home():
523
http://mail.python.org/pipermail/python-list/2005-February/325395.html
524
"""
525
try:
526
- path = os.path.expanduser("~")
+ path = os.path.expanduser(b"~").decode(sys.getfilesystemencoding())
527
except ImportError:
528
# This happens on Google App Engine (pwd module is not present).
529
pass
0 commit comments