added another missing commit
This commit is contained in:
parent
5f2f19519f
commit
ed25663054
1 changed files with 1 additions and 0 deletions
1
web.py
1
web.py
|
@ -87,6 +87,7 @@ def home():
|
|||
else:
|
||||
c.execute("UPDATE data SET avi = %s WHERE client_id = %s AND instance = %s", (session['avi'], session['client_id'], session['instance']))
|
||||
session['last_avi_update'] = int(time.time())
|
||||
db.commit()
|
||||
return render_template("home.html", mabg="background-image:url('{}')".format(session['avi']), ccbg="background-image:url('{}')".format(session['ccavi']))
|
||||
else:
|
||||
return redirect(url_for('main'))
|
||||
|
|
Loading…
Reference in a new issue