From 57478053ed9d2e1553dfddb373e6cb2aba5540c2 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Thu, 17 May 2018 15:31:28 -0400 Subject: [PATCH] Fix typo --- matplotlib/patches/font_name_encoding.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matplotlib/patches/font_name_encoding.patch b/matplotlib/patches/font_name_encoding.patch index 33729083a..db117b47d 100644 --- a/matplotlib/patches/font_name_encoding.patch +++ b/matplotlib/patches/font_name_encoding.patch @@ -16,7 +16,7 @@ diff -ur matplotlib-2.2.2/lib/matplotlib/font_manager.py matplotlib-2.2.2/lib/ma - sfnt4 = sfnt4.decode('mac_roman').lower() + try: + sfnt4 = sfnt4.decode('mac_roman').lower() -+ except LoopupError: ++ except LookupError: + sfnt4 = sfnt4.decode('latin1').lower() else: sfnt4 = ''