place breaks in txt files and in a separate directory
This commit is contained in:
parent
858e29a4da
commit
d345dcf6d1
|
@ -99,7 +99,7 @@ def write_break_message(msg):
|
||||||
today = datetime.now().strftime("%Y-%m-%d")
|
today = datetime.now().strftime("%Y-%m-%d")
|
||||||
minute = datetime.now().strftime("%H:%M")
|
minute = datetime.now().strftime("%H:%M")
|
||||||
msg = f"{minute} BREAK {msg}"
|
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)
|
print(msg)
|
||||||
f.write(msg + "\n")
|
f.write(msg + "\n")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user