Skip to content

Commit

Permalink
Merge pull request #45 from ccordoba12/lower_api
Browse files Browse the repository at this point in the history
Allow QT_API values that are not completely in lower case
  • Loading branch information
Nodd authored Jul 6, 2016
2 parents 76d1c68 + b9654df commit abc296f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qtpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
PYSIDE_API = ['pyside']

os.environ.setdefault(QT_API, 'pyqt5')
API = os.environ[QT_API]
API = os.environ[QT_API].lower()
assert API in (PYQT5_API + PYQT4_API + PYSIDE_API)

is_old_pyqt = is_pyqt46 = False
Expand Down

0 comments on commit abc296f

Please sign in to comment.