From e5726cc1fd734c28529df1f540043c86bae1dfc4 Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Tue, 11 Mar 2025 15:13:51 +0100 Subject: fixed export and update --- parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parser.py') diff --git a/parser.py b/parser.py index db363f3..96085d4 100755 --- a/parser.py +++ b/parser.py @@ -155,7 +155,7 @@ def main(): print("Added thought.") case "export": with open(args["out"], "w") as f: - f.writelines(db.get_thought(args["id"])) + f.writelines(db.get_thought(args["id"])[-3]) print(f"Written to {args["out"]}") case "update": with open(args["markdown"], "r") as f: -- cgit v1.2.3