Skip to content
Snippets Groups Projects
Commit 947434fc authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

removed debug output

parent 2147e03a
No related branches found
No related tags found
No related merge requests found
......@@ -1222,7 +1222,6 @@ def check_and_send_reminders():
usual_time = protocol.protocoltype.usual_time
protocol_time = datetime(1, 1, 1, usual_time.hour, usual_time.minute)
hour_difference = (protocol_time - current_time).seconds // 3600
print(protocol.get_identifier(), day_difference, hour_difference)
for reminder in protocol.protocoltype.reminders:
if day_difference == reminder.days_before and hour_difference == 0:
tasks.send_reminder(reminder, protocol)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment