Skip to content

Commit

Permalink
updated path
Browse files Browse the repository at this point in the history
  • Loading branch information
samapriya committed Sep 29, 2023
1 parent a034aff commit 85fe567
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mdown_copy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
from pathlib import Path


def markdown_copy(source_path,target_path):
Expand Down Expand Up @@ -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))

0 comments on commit 85fe567

Please sign in to comment.