Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
protokollsystem
proto3
Commits
947434fc
Commit
947434fc
authored
Mar 02, 2017
by
Robin Sonnabend
Browse files
removed debug output
parent
2147e03a
Changes
1
Hide whitespace changes
Inline
Side-by-side
server.py
View file @
947434fc
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment