mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-03 21:14:04 +08:00
Use None instead of 'none' for qt backend
This commit is contained in:
@@ -12,7 +12,7 @@ if qt_api is None:
|
||||
import PyQt4
|
||||
qt_api = 'pyqt'
|
||||
except ImportError:
|
||||
qt_api = 'none'
|
||||
qt_api = None
|
||||
# Note that we don't want to raise an error because that would
|
||||
# cause the TravisCI build to fail.
|
||||
warnings.warn("Could not import PyQt4: ImageViewer not available!")
|
||||
|
||||
Reference in New Issue
Block a user