Use None instead of 'none' for qt backend

This commit is contained in:
Johannes Schönberger
2013-05-29 20:28:16 +02:00
parent 255ac68999
commit 153bc6edf9
+1 -1
View File
@@ -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!")