From 5766c9f150c6229a5dad9eff740e6bf547fad61d Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Wed, 21 Mar 2018 10:00:25 -0700 Subject: [PATCH] FIX: ioerror font cache, second try --- lib/matplotlib/font_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/font_manager.py b/lib/matplotlib/font_manager.py index 02cbd9633fcd..af32e8484535 100644 --- a/lib/matplotlib/font_manager.py +++ b/lib/matplotlib/font_manager.py @@ -909,7 +909,7 @@ def json_dump(data, filename): try: json.dump(data, fh, cls=JSONEncoder, indent=2) except OSError as e: - warnings.warn('Could not save font_manager cache ', e) + warnings.warn('Could not save font_manager cache {}'.format(e)) def json_load(filename):