From 9fa41091590de4dfd1bf584faed1e54f43f74f43 Mon Sep 17 00:00:00 2001 From: Daniel Pizetta Date: Tue, 23 Jan 2018 18:04:49 -0200 Subject: [PATCH] Fix comparison between QT_API and PYQTGRAPH_QT_LIB --- qdarkstyle/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qdarkstyle/__init__.py b/qdarkstyle/__init__.py index bb355e374..e0faf8332 100644 --- a/qdarkstyle/__init__.py +++ b/qdarkstyle/__init__.py @@ -136,7 +136,7 @@ def load_stylesheet_from_environment(is_pyqtgraph=False): # Just a warning if both are set but differs each other if qt_api and pyqtgraph_qt_lib: - if qt_api != pyqtgraph_qt_lib: + if qt_api != pyqtgraph_qt_lib.lower(): _logger().warning("Both QT_API=%s and PYQTGRAPH_QT_LIB=%s are set, " "but with different values, this could cause " "some issues if using them in the same project!"