Skip to content

Commit

Permalink
fix: remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
saemideluxe committed Nov 21, 2023
1 parent a21ac59 commit 88e7409
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions basxbread/contrib/triggers/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,6 @@ def periodic_trigger():
for trigger in DateFieldTrigger.objects.filter(enable=True):
for instance in trigger.filter.queryset.all():
for td in trigger.triggerdates(instance):
if (
instance.id == 1306
and trigger.description == "LT Reisegrund neue Entsendung"
):
print(trigger, td)
if (
td is not None
and timezone.now() <= td < timezone.now() + TRIGGER_PERIOD
Expand Down

0 comments on commit 88e7409

Please sign in to comment.