Bump minimum Python version to 3.9

pull/135/head
Roberto Banić 2023-04-14 00:28:01 +02:00 committed by Luigi311
parent 9375d482b0
commit 26f40110d0
1 changed files with 3 additions and 3 deletions

View File

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