allow user to run config from anywhere on their system

This commit is contained in:
robcaulk 2022-05-15 15:26:09 +02:00
parent 9e94d28860
commit 80dcd88abf

View File

@ -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]),
)