Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d6fff83

Browse files
committed
fix for PySide2 cannot be activated since it is directly deactivated again in the else part
1 parent 2ae7981 commit d6fff83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

IPython/external/qt_loaders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def commit_api(api):
6868
ID.forbid('PySide')
6969
ID.forbid('PyQt4')
7070
ID.forbid('PyQt5')
71-
if api == QT_API_PYSIDE:
71+
elif api == QT_API_PYSIDE:
7272
ID.forbid('PySide2')
7373
ID.forbid('PyQt4')
7474
ID.forbid('PyQt5')

0 commit comments

Comments
 (0)