From 8b237a703846d16e582a503cd2cb9a6862379fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 24 Jun 2024 11:43:31 -0400 Subject: [PATCH] Fix writing of our types for different Notebooks from Tomboy We manually set then convert a directory. We don't want to make a big deal of this property because things were in the wrong Notebook a lot. --- zimwiki_txt_to_logseq_md.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zimwiki_txt_to_logseq_md.py b/zimwiki_txt_to_logseq_md.py index c0170cc..5080eae 100644 --- a/zimwiki_txt_to_logseq_md.py +++ b/zimwiki_txt_to_logseq_md.py @@ -30,8 +30,9 @@ def rewrite_file(filepath): w.write("title:: " + title + "\n") w.write("\n") continue + if (i == 5): # Types of postable-posted, email-draft, email-sent set when running this for each subdirectory - # w.write("type:: postable-draft\n") + w.write("type:: postable-draft\n") if (i > 5 and line == "\"\"\"\n"): if (in_block == False): # Start our self-styled quotation block with a bullet.