Skip to content

Commit

Permalink
Merge pull request #56 from ealong/version-check
Browse files Browse the repository at this point in the history
Fixed bug in python version check
  • Loading branch information
feghalya authored Apr 27, 2020
2 parents b397bf3 + d6ae04d commit a4945ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyGeno/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def prettyVersion() :
def checkPythonVersion() :
"""pyGeno needs python 3.5+"""

if sys.version_info[0] < 3 or (sys.version_info[0] > 3 and sys.version_info[1] < 5) :
if sys.version_info[0] < 3 or (sys.version_info[0] == 3 and sys.version_info[1] < 5) :
return False
return True

Expand Down

0 comments on commit a4945ac

Please sign in to comment.