From 153bc6edf9a450d6fb585ba73699e7b37e7bb6b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Wed, 29 May 2013 20:28:16 +0200 Subject: [PATCH] Use None instead of 'none' for qt backend --- skimage/viewer/qt/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/viewer/qt/__init__.py b/skimage/viewer/qt/__init__.py index 55cafcfe..c816a172 100644 --- a/skimage/viewer/qt/__init__.py +++ b/skimage/viewer/qt/__init__.py @@ -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!")