tweaks
This commit is contained in:
@@ -324,7 +324,7 @@ class BlogWriter:
|
||||
print(f"→ Cleaning {OUTPUT_DIR}/...")
|
||||
count = 0
|
||||
for filename in os.listdir(OUTPUT_DIR):
|
||||
if filename.endswith(".md"):
|
||||
if filename.endswith(".md") or filename.endswith(".txt"):
|
||||
os.remove(os.path.join(OUTPUT_DIR, filename))
|
||||
count += 1
|
||||
print(f"✓ Removed {count} Markdown files.")
|
||||
|
||||
Reference in New Issue
Block a user