Skip to content

Commit

Permalink
Remove unneeded global cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarraff committed Jan 22, 2024
1 parent 35f2e45 commit 9549f27
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mark2confluence/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ def get_default_parents(parents_string: str) -> List[ParentCfg]:
return default_parents

def inject_default_parents(path: str, default_parents_cfg: List[ParentCfg]):
global cfg
file_dir = f"{os.path.dirname(os.path.abspath(path))}"
for parent_cfg in default_parents_cfg:
if parent_cfg.is_directory_included(file_dir):
Expand Down

0 comments on commit 9549f27

Please sign in to comment.