Skip to content

Commit

Permalink
Fix python 3.11 warning showing on Python 3.10.X
Browse files Browse the repository at this point in the history
  • Loading branch information
drojf committed Jul 14, 2023
1 parent a8d7b4b commit 5adde5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def save(self):
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()
Expand Down

0 comments on commit 5adde5b

Please sign in to comment.