From 784562ca013b3797f58ed8912665dfba6427e97b Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Tue, 14 Dec 2021 22:19:30 +0200 Subject: [PATCH] Fix the qidenticon PyQt5 bug (closes: #1901) --- src/qidenticon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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