mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
Colorama is not necessary for hyperopt commands anymore
This commit is contained in:
parent
94565d0d39
commit
28f4e1c068
|
@ -2,8 +2,6 @@ import logging
|
|||
from operator import itemgetter
|
||||
from typing import Any, Dict
|
||||
|
||||
from colorama import init as colorama_init
|
||||
|
||||
from freqtrade.configuration import setup_utils_configuration
|
||||
from freqtrade.data.btanalysis import get_latest_hyperopt_file
|
||||
from freqtrade.enums import RunMode
|
||||
|
@ -36,9 +34,6 @@ def start_hyperopt_list(args: Dict[str, Any]) -> None:
|
|||
# Previous evaluations
|
||||
epochs, total_epochs = HyperoptTools.load_filtered_results(results_file, config)
|
||||
|
||||
if print_colorized:
|
||||
colorama_init(autoreset=True)
|
||||
|
||||
if not export_csv:
|
||||
try:
|
||||
h_out = HyperoptOutput()
|
||||
|
|
Loading…
Reference in New Issue
Block a user