Fix invalid version check in 'project_source_info'

Own error in 870fcb3857
This commit is contained in:
Campbell Barton 2020-10-02 13:46:41 +10:00
parent 6b1bbcd3b0
commit 4053fa9fcb
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ __all__ = (
import sys
if not sys.version_info.major < 3:
if sys.version_info.major < 3:
print("\nPython3.x or newer needed, found %s.\nAborting!\n" %
sys.version.partition(" ")[0])
sys.exit(1)