To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 882a8c0a authored by Mathis Dedial's avatar Mathis Dedial

Fix typo

parent 70895d7d
Pipeline #3441 skipped with stage
......@@ -19,7 +19,7 @@ def index():
'''
# Sort
sort = request.args.get('sort')
if sort == 'top' or past_deadline:
if sort == 'top' or PAST_DEADLINE:
order_by = 'vote_count DESC, timestamp'
else:
order_by = 'timestamp DESC'
......@@ -40,7 +40,7 @@ def index():
else:
burger_list = db.engine.execute(querystring, nethz='').fetchall()
if past_deadline:
if PAST_DEADLINE:
return render_template('deadline.html',
winner=burger_list[0],
bread=BREAD,
......
Markdown is supported
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