Fix python 3.11 warning showing on Python 3.10.X

This commit is contained in:
Daniel Wong
2023-07-14 20:23:24 +10:00
parent a8d7b4b710
commit 5adde5b725

View File

@@ -252,7 +252,7 @@ if sys.version_info < (2, 7):
print(">>>> ERROR: This script does not work on Python 2.7")
exit(-1)
if sys.version_info > (3, 10):
if not (sys.version_info < (3, 11)):
print(">>>> WARNING: This script probably does not work on Python 3.11 because unitypack uses old version of decrunch which does not build. Use Python 3.10 or below if you have this error.")
lastModifiedManager = LastModifiedManager()