From ed2566305407276bae547e8a27c85914b27bdeee Mon Sep 17 00:00:00 2001 From: Lynne Date: Wed, 14 Nov 2018 00:27:26 +1000 Subject: [PATCH] added another missing commit --- web.py | 1 + 1 file changed, 1 insertion(+) diff --git a/web.py b/web.py index 5c4efc8..a933aca 100755 --- a/web.py +++ b/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'))