Skip to content

Commit fce4e2b

Browse files
committed
Fix version check in setup.py
1 parent 28d4544 commit fce4e2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
from sys import version_info
44

5-
__version__ = '1.3'
5+
__version__ = '1.2.1'
66

77
py_version = version_info[:2]
8-
if not (2, 6) <= py_version <= (2, 7) or py_version >= (3, 4):
8+
if not (2, 6) <= py_version <= (2, 7) and not (3, 4) <= py_version < (4, 0):
99
raise ImportError('Python %d.%d is not supported by DBUtils.' % py_version)
1010

1111
import warnings

0 commit comments

Comments
 (0)