Skip to content

Commit 340762e

Browse files
Merge pull request #2028 from elebumm/JasonLovesDoggo-patch-1
Update main.py
2 parents 69fa2a4 + 6a48f22 commit 340762e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)