From 80dcd88abf33f42510f97d75de6998ce397a2f50 Mon Sep 17 00:00:00 2001 From: robcaulk Date: Sun, 15 May 2022 15:26:09 +0200 Subject: [PATCH] allow user to run config from anywhere on their system --- freqtrade/freqai/data_kitchen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/freqai/data_kitchen.py b/freqtrade/freqai/data_kitchen.py index 364b503e9..c9d518418 100644 --- a/freqtrade/freqai/data_kitchen.py +++ b/freqtrade/freqai/data_kitchen.py @@ -598,7 +598,7 @@ class FreqaiDataKitchen: if not self.full_path.is_dir(): self.full_path.mkdir(parents=True, exist_ok=True) shutil.copy( - config_path.name, + config_path.resolve(), Path(self.full_path / config_path.parts[-1]), )