Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nixellion committed Jun 2, 2023
1 parent 5a10381 commit 97ce068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def notifier_task_hash(task, label=""):
except:
due_date = datetime.strptime(item['added_at'], "%Y-%m-%dT%H:%M:%S.%fZ")
due_date += timedelta(hours=config['local_timezone_offset'])
if datetime.now() - due_date > expire_hours:
if datetime.now() - due_date > expire_delta:
print(f"Querying task for deletion due to expiration label: '{str(item)}")
delete_ids.append(item['task_id'])
break
Expand Down

0 comments on commit 97ce068

Please sign in to comment.