Fix the qidenticon PyQt5 bug (closes: #1901)

This commit is contained in:
Dmitri Bogomolov 2021-12-14 22:19:30 +02:00
parent f74ed21f3a
commit 784562ca01
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -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