Skip to content

Commit

Permalink
Reduce logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Nixellion committed Jan 17, 2023
1 parent d1b84cb commit 910ba56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def remember_task(task):
if task not in lines:
with open(today_path, "a+", encoding="utf-8") as f:
f.write(task + "\n")
print(f"Task '{task}' added to memory for today. ({lines})")
print(f"Task '{task}' added to memory for today.")
else:
print(f"Task '{task}' already remembered as completed for today.")

Expand Down Expand Up @@ -462,7 +462,7 @@ def notifier_task_hash(task, label=""):
delete_ids.append(item['id'])
else:
print(f"Config tells me to skip clean_up_completed_tasks: {item['content']}")

if len(delete_ids) > 0:
todoist_api.delete_items(delete_ids)

Expand Down

0 comments on commit 910ba56

Please sign in to comment.