Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Nixellion committed Dec 29, 2022
1 parent abd7111 commit 180cd72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,8 @@ def notifier_task_hash(task, label=""):
print(f"Notify? ({item['content']})")
try:
notify_regex = r"notify(?P<threshold>.+)?"
if len(item['labels']) == 0:
print("No labels in this task.")
for label in item['labels']:
match = re.match(notify_regex, label)
if match and item['due'] and item['due'] != None:
Expand Down

0 comments on commit 180cd72

Please sign in to comment.