Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6fc549b

Browse files
committed
Merged revisions 4999-5011 via svnmerge from
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v0_91_maint ........ r5011 | mdboom | 2008-03-21 09:10:20 -0400 (Fri, 21 Mar 2008) | 3 lines Bugfix: [ 1912719 ] TypeError in Exception __get_configdir() Thanks, Andrea Tomasini ........ svn path=/trunk/matplotlib/; revision=5012
1 parent 78ea770 commit 6fc549b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ def _get_configdir():
397397

398398
if os.path.exists(p):
399399
if not _is_writable_dir(p):
400-
raise RuntimeError("'%s' is not a writable dir; you must set %s/.matplotlib to be a writable dir. You can also set environment variable MPLCONFIGDIR to any writable directory where you want matplotlib data stored "%h)
400+
raise RuntimeError("'%s' is not a writable dir; you must set %s/.matplotlib to be a writable dir. You can also set environment variable MPLCONFIGDIR to any writable directory where you want matplotlib data stored "% (h, h))
401401
else:
402402
if not _is_writable_dir(h):
403403
raise RuntimeError("Failed to create %s/.matplotlib; consider setting MPLCONFIGDIR to a writable directory for matplotlib configuration data"%h)

0 commit comments

Comments
 (0)