Commit 57478053 authored by Michael Droettboom's avatar Michael Droettboom

Fix typo

parent 14db9e69
...@@ -16,7 +16,7 @@ diff -ur matplotlib-2.2.2/lib/matplotlib/font_manager.py matplotlib-2.2.2/lib/ma ...@@ -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() - sfnt4 = sfnt4.decode('mac_roman').lower()
+ try: + try:
+ sfnt4 = sfnt4.decode('mac_roman').lower() + sfnt4 = sfnt4.decode('mac_roman').lower()
+ except LoopupError: + except LookupError:
+ sfnt4 = sfnt4.decode('latin1').lower() + sfnt4 = sfnt4.decode('latin1').lower()
else: else:
sfnt4 = '' sfnt4 = ''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment