Add 3.8 block for strategyUpdater

This commit is contained in:
Matthias
2023-03-09 07:14:54 +00:00
parent 4d8e3c25bd
commit 30fd1e742e
2 changed files with 12 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
import logging
import sys
import time
from pathlib import Path
from typing import Any, Dict
@@ -19,6 +20,9 @@ def start_strategy_update(args: Dict[str, Any]) -> None:
:return: None
"""
if sys.version_info == (3, 8): # pragma: no cover
sys.exit("Freqtrade strategy updater requires Python version >= 3.9")
config = setup_utils_configuration(args, RunMode.UTIL_NO_EXCHANGE)
strategy_objs = StrategyResolver.search_all_objects(