Fix the qidenticon PyQt5 bug (closes: #1901)
This commit is contained in:
parent
f74ed21f3a
commit
784562ca01
|
@ -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
|
||||
|
||||
|
||||
|
|
Reference in New Issue
Block a user