From 0ead81065994091c7723250cd59cae3de2ee44a6 Mon Sep 17 00:00:00 2001 From: pseusys Date: Sun, 19 Mar 2023 17:29:02 +0100 Subject: [PATCH] chart file is being copied properly --- sources/manager_github.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/manager_github.py b/sources/manager_github.py index 89199f7..57cc80d 100644 --- a/sources/manager_github.py +++ b/sources/manager_github.py @@ -94,8 +94,8 @@ class GitHubManager: :param src_path: Source file path. """ dst_path = join(GitHubManager.REPO.working_tree_dir, src_path) - makedirs(dirname(src_path), exist_ok=True) - copy(dst_path, src_path) + makedirs(dirname(dst_path), exist_ok=True) + copy(src_path, dst_path) GitHubManager.REPO.git.add(dst_path) @staticmethod