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
4f5f9ded
Commit
4f5f9ded
authored
Mar 23, 2018
by
Robin Sonnabend
Browse files
Fix selecting protocol reminder candidates
parent
dbdc4399
Changes
1
Hide whitespace changes
Inline
Side-by-side
server.py
View file @
4f5f9ded
...
...
@@ -1825,7 +1825,8 @@ def check_and_send_reminders():
with
app
.
app_context
():
current_time
=
datetime
.
now
()
current_day
=
current_time
.
date
()
for
protocol
in
Protocol
.
query
.
filter
(
not
Protocol
.
done
).
all
():
query
=
Protocol
.
query
.
filter
(
Protocol
.
done
==
False
)
# noqa: E712
for
protocol
in
query
.
all
():
day_difference
=
(
protocol
.
date
-
current_day
).
days
usual_time
=
protocol
.
get_time
()
protocol_time
=
datetime
(
...
...
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