From 54023cae23b425e6f58f68eab0c0c3642eff3e52 Mon Sep 17 00:00:00 2001 From: fz0x1 Date: Sat, 10 May 2025 20:46:12 +0200 Subject: [PATCH] 20250510.1746902772 --- global/scripts/bin/diary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global/scripts/bin/diary.py b/global/scripts/bin/diary.py index 12a229f..14d04a4 100755 --- a/global/scripts/bin/diary.py +++ b/global/scripts/bin/diary.py @@ -703,7 +703,7 @@ def insert(): if daytime_tag != "none": content += f"\n@{daytime_tag}" - content = shlex.quote(file.read()) + content = shlex.quote(content) if hash != make_hash(temp_file_path): try: