From d345dcf6d1245ba386d63450b0f642f9bd69bbc1 Mon Sep 17 00:00:00 2001 From: JJJHolscher Date: Sat, 13 Jul 2024 12:44:41 +0200 Subject: [PATCH] place breaks in txt files and in a separate directory --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 88426f5..642d2c5 100755 --- a/src/main.py +++ b/src/main.py @@ -99,7 +99,7 @@ def write_break_message(msg): today = datetime.now().strftime("%Y-%m-%d") minute = datetime.now().strftime("%H:%M") msg = f"{minute} BREAK {msg}" - with open(f"/home/gum/z/{today}.md", "a") as f: + with open(f"/home/gum/z/break/{today}.txt", "a") as f: print(msg) f.write(msg + "\n")