mirror of
https://github.com/lucaspalomodevelop/Party.git
synced 2026-03-16 01:04:37 +00:00
removed blank lines
This commit is contained in:
parent
879d24c636
commit
00bcf87b65
3
main.py
3
main.py
@ -183,6 +183,7 @@ def session(id):
|
||||
@app.route("/mate", methods=['POST'])
|
||||
def mate():
|
||||
log_server("called /mate")
|
||||
|
||||
if session:
|
||||
mateFlaschen = request.form['mateFlaschen']
|
||||
mateSorte = request.form['mateSorte']
|
||||
@ -195,8 +196,6 @@ def mate():
|
||||
con.close()
|
||||
except sqlite3.Error as e:
|
||||
error_log(f"error while executing sql: {e}")
|
||||
|
||||
|
||||
return render_template("404.html")
|
||||
else:
|
||||
warning_log(" called /mate without being logged in")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user