Skip to content

Commit

Permalink
Merge pull request #280 from astrofrog/fix-pyside2-forbid
Browse files Browse the repository at this point in the history
Fix compatibility with PySide2 on Python 2.7
  • Loading branch information
takluyver committed Apr 16, 2018
2 parents 8b8990b + 6fd1f12 commit 742f04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qtconsole/qt_loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def commit_api(api):
ID.forbid('PySide')
ID.forbid('PyQt4')
ID.forbid('PyQt5')
if api == QT_API_PYSIDE:
elif api == QT_API_PYSIDE:
ID.forbid('PySide2')
ID.forbid('PyQt4')
ID.forbid('PyQt5')
Expand Down

0 comments on commit 742f04d

Please sign in to comment.