Commit 947434fc authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

removed debug output

parent 2147e03a
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment