curve: fix: task-note.py
This commit is contained in:
parent
37e25bb697
commit
262c0f8ded
|
@ -37,7 +37,7 @@ def write_note(task_id: int):
|
|||
task_project = os.popen(f"task _get {task_id}.project").read().strip("\n")
|
||||
task_tags = os.popen(f"task _get {task_id}.tags").read().split(",")
|
||||
if len(task_tags):
|
||||
task_tags = ":".join(task_tags).strip("\n") + ":"
|
||||
task_tags = ":".join(task_tags).strip("\n")
|
||||
time = datetime.datetime.now().strftime("%y-%m-%d %H:%M")
|
||||
|
||||
with open(notes_file, "w") as f:
|
||||
|
|
Loading…
Reference in a new issue