diff --git a/src/qidenticon.py b/src/qidenticon.py index 30b61b9b..13be3578 100644 --- a/src/qidenticon.py +++ b/src/qidenticon.py @@ -44,7 +44,7 @@ from six.moves import range try: from PyQt5 import QtCore, QtGui -except ImportError: +except (ImportError, RuntimeError): from PyQt4 import QtCore, QtGui