changed message and removed debug statement
This commit is contained in:
+1
-2
@@ -23,7 +23,6 @@ def main():
|
|||||||
return f'Error: "{srcdir}" is not a directory or does not exist'
|
return f'Error: "{srcdir}" is not a directory or does not exist'
|
||||||
|
|
||||||
filelist = list(srcdir.glob("*.md"))
|
filelist = list(srcdir.glob("*.md"))
|
||||||
print(f"{filelist}")
|
|
||||||
|
|
||||||
# mk destdir if not exist
|
# mk destdir if not exist
|
||||||
if not destdir.is_dir():
|
if not destdir.is_dir():
|
||||||
@@ -31,7 +30,7 @@ def main():
|
|||||||
|
|
||||||
# process filelist
|
# process filelist
|
||||||
for infile in filelist:
|
for infile in filelist:
|
||||||
print(f"processing '{infile}' to html")
|
print(f"processing '{infile}'...")
|
||||||
|
|
||||||
# Read markdown once
|
# Read markdown once
|
||||||
with infile.open(mode="r", encoding="utf-8") as f:
|
with infile.open(mode="r", encoding="utf-8") as f:
|
||||||
|
|||||||
Reference in New Issue
Block a user