Force python 3.12 or greater
Signed-off-by: Luis Garcia <git@luigi311.com>pull/228/head
parent
e589935b37
commit
0b02f531c1
6
main.py
6
main.py
|
|
@ -1,9 +1,9 @@
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
# Check python version 3.9 or higher
|
# Check python version 3.12 or higher
|
||||||
if not (3, 9) <= tuple(map(int, sys.version_info[:2])):
|
if not (3, 12) <= tuple(map(int, sys.version_info[:2])):
|
||||||
print("This script requires Python 3.9 or higher")
|
print("This script requires Python 3.12 or higher")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
from src.main import main
|
from src.main import main
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue