From 3245fef567ca8d88385b254cdd7622bdc78de655 Mon Sep 17 00:00:00 2001 From: duplo Date: Tue, 15 Dec 2009 15:50:13 +0000 Subject: [PATCH] Modify the version check git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3122 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/qvariant_converter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wizard/qvariant_converter.py b/wizard/qvariant_converter.py index 97dccefa..8ff5be3c 100644 --- a/wizard/qvariant_converter.py +++ b/wizard/qvariant_converter.py @@ -40,9 +40,9 @@ from PyQt4.QtCore import PYQT_VERSION_STR # with older PyQt4 version. if PYQT_VERSION_STR <= "4.4.3": from qvariant_converter_old import * -elif PYQT_VERSION_STR < "4.5.0": +elif "4.4.3" < PYQT_VERSION_STR < "4.5": from qvariant_converter_4_4 import * -elif PYQT_VERSION_STR < "4.6.0": +elif "4.5" <= PYQT_VERSION_STR < "4.6": from qvariant_converter_4_5 import * else: from qvariant_converter_4_6 import * -- 2.25.1