mirror of https://github.com/pyodide/pyodide.git
Fix typo
This commit is contained in:
parent
14db9e693c
commit
57478053ed
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in New Issue