chore: update conditional check for python version

This commit is contained in:
Matthias
2024-10-01 06:44:49 +02:00
parent 682980be49
commit 0cd051cee2
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
__main__.py for Freqtrade __main__.py for Freqtrade
To launch Freqtrade as a module To launch Freqtrade as a module
> python -m freqtrade (with Python >= 3.9) > python -m freqtrade (with Python >= 3.10)
""" """
from freqtrade import main from freqtrade import main

View File

@@ -10,8 +10,8 @@ from typing import Any, List, Optional
# check min. python version # check min. python version
if sys.version_info < (3, 9): # pragma: no cover if sys.version_info < (3, 10): # pragma: no cover
sys.exit("Freqtrade requires Python version >= 3.9") sys.exit("Freqtrade requires Python version >= 3.10")
from freqtrade import __version__ from freqtrade import __version__
from freqtrade.commands import Arguments from freqtrade.commands import Arguments