diff --git a/mdown_copy.py b/mdown_copy.py index b8cbf7a..b036d16 100644 --- a/mdown_copy.py +++ b/mdown_copy.py @@ -1,4 +1,5 @@ import os +from pathlib import Path def markdown_copy(source_path,target_path): @@ -69,4 +70,5 @@ def get_markdown_files(dir_path): target_file = markdown_file else: source_file = markdown_file - markdown_copy(source_file,target_file) + print(source_file,target_file) + markdown_copy(Path(source_file),Path(target_file))