Skip to content

Commit 5adde5b

Browse files
committed
Fix python 3.11 warning showing on Python 3.10.X
1 parent a8d7b4b commit 5adde5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def save(self):
252252
print(">>>> ERROR: This script does not work on Python 2.7")
253253
exit(-1)
254254

255-
if sys.version_info > (3, 10):
255+
if not (sys.version_info < (3, 11)):
256256
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.")
257257

258258
lastModifiedManager = LastModifiedManager()

0 commit comments

Comments
 (0)