File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 2020from freqtrade .constants import FTHYPT_FILEVERSION , LAST_BT_RESULT_FN , Config
2121from freqtrade .enums import HyperoptState
2222from freqtrade .exceptions import OperationalException
23- from freqtrade .loggers import error_console
2423from freqtrade .misc import file_dump_json , plural
2524from freqtrade .optimize .hyperopt .hyperopt_logger import logging_mp_handle , logging_mp_setup
2625from freqtrade .optimize .hyperopt .hyperopt_optimizer import HyperOptimizer
@@ -282,10 +281,7 @@ def start(self) -> None:
282281 logger .info (f"Effective number of parallel workers used: { jobs } " )
283282
284283 # Define progressbar
285- with get_progress_tracker (
286- console = error_console ,
287- cust_callables = [self ._hyper_out ],
288- ) as pbar :
284+ with get_progress_tracker (cust_callables = [self ._hyper_out ]) as pbar :
289285 task = pbar .add_task ("Epochs" , total = self .total_epochs )
290286
291287 start = 0
Original file line number Diff line number Diff line change 77 TimeRemainingColumn ,
88)
99
10+ from freqtrade .loggers import error_console
1011from freqtrade .util .rich_progress import CustomProgress
1112
1213
@@ -30,5 +31,6 @@ def get_progress_tracker(**kwargs) -> CustomProgress:
3031 "•" ,
3132 TimeRemainingColumn (),
3233 expand = True ,
34+ console = error_console ,
3335 ** kwargs ,
3436 )
You can’t perform that action at this time.
0 commit comments