Log users who vote
This commit is contained in:
parent
a9a778b4c3
commit
b7ee8faf4d
3
app.py
3
app.py
|
@ -157,6 +157,7 @@ def vote(key):
|
|||
|
||||
@app.post("/vote/date")
|
||||
def vote_date():
|
||||
log.debug("user = %s", session["user"])
|
||||
log.debug("form = %s", request.form)
|
||||
meet_id, preferences = get_preferences("date")
|
||||
date_ids = list(preferences.keys())
|
||||
|
@ -226,6 +227,7 @@ def result_date(meet_id):
|
|||
|
||||
@app.post("/vote/time")
|
||||
def vote_time():
|
||||
log.debug("user = %s", session["user"])
|
||||
log.debug("form = %s", request.form)
|
||||
meet_id, preferences = get_preferences("time")
|
||||
time_ids = list(preferences.keys())
|
||||
|
@ -293,6 +295,7 @@ def result_time(meet_id):
|
|||
|
||||
@app.post("/vote/place")
|
||||
def vote_place():
|
||||
log.debug("user = %s", session["user"])
|
||||
log.debug("form = %s", request.form)
|
||||
meet_id, preferences = get_preferences("place")
|
||||
place_ids = list(preferences.keys())
|
||||
|
|
Loading…
Reference in New Issue