mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Use linux lineseperator at all times
This commit is contained in:
parent
ecee42f561
commit
5e73195b30
|
@ -5,7 +5,6 @@ This module contains the hyperopt logic
|
|||
"""
|
||||
|
||||
import logging
|
||||
import os
|
||||
import random
|
||||
import warnings
|
||||
from datetime import datetime, timezone
|
||||
|
@ -164,7 +163,7 @@ class Hyperopt:
|
|||
"""
|
||||
with self.results_file.open('a') as f:
|
||||
rapidjson.dump(epoch, f, default=str, number_mode=rapidjson.NM_NATIVE)
|
||||
f.write(os.linesep)
|
||||
f.write("\n")
|
||||
|
||||
self.num_epochs_saved += 1
|
||||
logger.debug(f"{self.num_epochs_saved} {plural(self.num_epochs_saved, 'epoch')} "
|
||||
|
|
Loading…
Reference in New Issue
Block a user