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:
|
def store_backtest_stats(recordfilename: Path, stats: Dict[str, DataFrame]) -> None:
|
||||||
|
|
||||||
if recordfilename.is_dir():
|
if recordfilename.is_dir():
|
||||||
filename = recordfilename / \
|
filename = (recordfilename /
|
||||||
f'backtest-result-{datetime.now().strftime("%Y-%m-%d_%H-%M-%S")}.json'
|
f'backtest-result-{datetime.now().strftime("%Y-%m-%d_%H-%M-%S")}.json')
|
||||||
else:
|
else:
|
||||||
filename = Path.joinpath(
|
filename = Path.joinpath(
|
||||||
recordfilename.parent,
|
recordfilename.parent,
|
||||||
|
Loading…
Reference in New Issue
Block a user