Skip to content

Commit 6a48f22

Browse files
Update main.py
permit py 3.11
1 parent 69fa2a4 commit 6a48f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def shutdown() -> NoReturn:
8080

8181

8282
if __name__ == "__main__":
83-
if sys.version_info.major != 3 or sys.version_info.minor != 10:
83+
if sys.version_info.major != 3 or sys.version_info.minor not in [10, 11]:
8484
print(
8585
"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."
8686
)

0 commit comments

Comments
 (0)