Fix double space in daily note header template

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ryan
2026-03-03 08:27:49 -05:00
parent 97be5262a8
commit 03c7e0c951

View File

@@ -323,7 +323,7 @@ class ObsidianService:
note_path.parent.mkdir(parents=True, exist_ok=True) note_path.parent.mkdir(parents=True, exist_ok=True)
content = ( content = (
f"---\nmodified: {datetime.now().isoformat()}\n---\n" f"---\nmodified: {datetime.now().isoformat()}\n---\n"
f"### tasks\n\n- [ ] {task_text}\n\n### log\n" f"### tasks\n\n- [ ] {task_text}\n\n### log\n"
) )
with open(note_path, "w", encoding="utf-8") as f: with open(note_path, "w", encoding="utf-8") as f:
f.write(content) f.write(content)