mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-02 12:41:06 +08:00
Use None instead of 'none' for qt backend
This commit is contained in:
1 parent
255ac68999
commit
153bc6edf9
1 file changed
+1
-1
@@ -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