From 8a3e700f15e1b63e1e565ccd427d323f8da43d3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 23 Jun 2024 17:18:46 -0400 Subject: [PATCH] Activate looping script --- zimwiki_txt_to_logseq_md.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zimwiki_txt_to_logseq_md.py b/zimwiki_txt_to_logseq_md.py index 12ac6a0..0c4516a 100644 --- a/zimwiki_txt_to_logseq_md.py +++ b/zimwiki_txt_to_logseq_md.py @@ -26,6 +26,6 @@ def rewrite_file(filepath): -# for filepath in os.listdir(): -# if file.endswith(".txt"): -# rewrite_file(filepath) +for filepath in os.listdir(): + if file.endswith(".txt"): + rewrite_file(filepath)