Merge pull request #2028 from elebumm/JasonLovesDoggo-patch-1

Update main.py
This commit is contained in:
Jason Cameron authored and GitHub committed 2024-04-21 13:42:29 -04:00
commit 340762e1b6
1 file changed
+1 -1
+1 -1
View File
@@ -80,7 +80,7 @@ def shutdown() -> NoReturn:
if __name__ == "__main__":
if sys.version_info.major != 3 or sys.version_info.minor != 10:
if sys.version_info.major != 3 or sys.version_info.minor not in [10, 11]:
print(
"Hey! Congratulations, you've made it so far (which is pretty rare with no Python 3.10). Unfortunately, this program only works on Python 3.10. Please install Python 3.10 and try again."
)