Skip to content

Commit

Permalink
Bump minimum Python version to 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicba1010 authored and luigi311 committed Jan 5, 2024
1 parent 9375d48 commit 26f4011
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import sys

if __name__ == "__main__":
# Check python version 3.6 or higher
if not (3, 6) <= tuple(map(int, sys.version_info[:2])):
print("This script requires Python 3.6 or higher")
# Check python version 3.9 or higher
if not (3, 9) <= tuple(map(int, sys.version_info[:2])):
print("This script requires Python 3.9 or higher")
sys.exit(1)

from src.main import main
Expand Down

0 comments on commit 26f4011

Please sign in to comment.