UI/SymbolsWidget.py

branch
6_1_x
changeset 4972
fe8015457551
parent 4969
2e3bf59087ec
child 5389
9b1c800daff3
--- a/UI/SymbolsWidget.py	Fri May 06 16:35:40 2016 +0200
+++ b/UI/SymbolsWidget.py	Sun May 08 11:45:55 2016 +0200
@@ -14,7 +14,7 @@
     str = unicode                               # __IGNORE_WARNING__
     chr = unichr                                # __IGNORE_WARNING__
     import htmlentitydefs as html_entities      # __IGNORE_WARNING__
-except NameError:
+except (NameError, ImportError):
     # Py3
     import html.entities as html_entities
 

eric ide

mercurial