8000 FIX: ioerror font cache, second try · matplotlib/matplotlib@5766c9f · GitHub
[go: up one dir, main page]

Skip to content

Commit 5766c9f

Browse files
committed
FIX: ioerror font cache, second try
1 parent 8991f9f commit 5766c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/font_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ def json_dump(data, filename):
909909
try:
910910
json.dump(data, fh, cls=JSONEncoder, indent=2)
911911
except OSError as e:
912-
warnings.warn('Could not save font_manager cache ', e)
912+
warnings.warn('Could not save font_manager cache {}'.format(e))
913913

914914

915915
def json_load(filename):

0 commit comments

Comments
 (0)
0