mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 12:13:57 +00:00
ensure the backup folder will overwrite existing folders
This commit is contained in:
parent
630cdcb99f
commit
1fe58c3938
|
@ -223,7 +223,8 @@ class FreqaiDataDrawer:
|
|||
value.to_parquet(filename)
|
||||
|
||||
# create a backup
|
||||
shutil.copytree(self.historic_predictions_folder, self.historic_predictions_bkp_folder)
|
||||
shutil.copytree(self.historic_predictions_folder,
|
||||
self.historic_predictions_bkp_folder, dirs_exist_ok=True)
|
||||
|
||||
def save_metric_tracker_to_disk(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user