Skip to content

Commit

Permalink
Merge pull request #454 from ccordoba12/fix-version-detection
Browse files Browse the repository at this point in the history
Fix error when checking Python version in setup.py
  • Loading branch information
ccordoba12 committed Nov 22, 2020
2 parents 26df660 + b86cf0c commit aca795a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import sys

v = sys.version_info
if v[0] >= 3 and v[:2] < (3,5)):
if v[0] >= 3 and v[:2] < (3, 5):
error = "ERROR: %s requires Python version 3.6 or above." % name
print(error, file=sys.stderr)
sys.exit(1)
Expand Down

0 comments on commit aca795a

Please sign in to comment.