chart file is being copied properly

This commit is contained in:
pseusys
2023-03-19 17:29:02 +01:00
parent fb4d71bec9
commit 0ead810659

View File

@@ -94,8 +94,8 @@ class GitHubManager:
:param src_path: Source file path. :param src_path: Source file path.
""" """
dst_path = join(GitHubManager.REPO.working_tree_dir, src_path) dst_path = join(GitHubManager.REPO.working_tree_dir, src_path)
makedirs(dirname(src_path), exist_ok=True) makedirs(dirname(dst_path), exist_ok=True)
copy(dst_path, src_path) copy(src_path, dst_path)
GitHubManager.REPO.git.add(dst_path) GitHubManager.REPO.git.add(dst_path)
@staticmethod @staticmethod