add markdown in top dir to notesync
This commit is contained in:
parent
749c140a16
commit
3dc34f6c01
|
@ -16,7 +16,9 @@ def main(input_dir: str, output_dir, ignore=None, dry_run=False):
|
||||||
|
|
||||||
public_files = []
|
public_files = []
|
||||||
|
|
||||||
for file in glob.glob(os.path.join(input_dir,"**","*.md")):
|
files = glob.glob(os.path.join(input_dir,"**","*.md")) + glob.glob(os.path.join(input_dir,"*.md"))
|
||||||
|
|
||||||
|
for file in files:
|
||||||
|
|
||||||
|
|
||||||
if ignore is not None:
|
if ignore is not None:
|
||||||
|
|
Loading…
Reference in New Issue