Merge pull request #2028 from elebumm/JasonLovesDoggo-patch-1
Update main.py
This commit is contained in:
1 file changed
+1
-1
@@ -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."
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user