Skip to content

Commit 784562c

Browse files
committed
Fix the qidenticon PyQt5 bug (closes: #1901)
1 parent f74ed21 commit 784562c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qidenticon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
try:
4646
from PyQt5 import QtCore, QtGui
47-
except ImportError:
47+
except (ImportError, RuntimeError):
4848
from PyQt4 import QtCore, QtGui
4949

5050

0 commit comments

Comments
 (0)