mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
Avoid \ linebreak
This commit is contained in:
parent
ea5e47657a
commit
1fc4451d2f
|
@ -17,8 +17,8 @@ logger = logging.getLogger(__name__)
|
|||
def store_backtest_stats(recordfilename: Path, stats: Dict[str, DataFrame]) -> None:
|
||||
|
||||
if recordfilename.is_dir():
|
||||
filename = recordfilename / \
|
||||
f'backtest-result-{datetime.now().strftime("%Y-%m-%d_%H-%M-%S")}.json'
|
||||
filename = (recordfilename /
|
||||
f'backtest-result-{datetime.now().strftime("%Y-%m-%d_%H-%M-%S")}.json')
|
||||
else:
|
||||
filename = Path.joinpath(
|
||||
recordfilename.parent,
|
||||
|
|
Loading…
Reference in New Issue
Block a user