remove cctemp when it's no longer needed
This commit is contained in:
parent
4bbc6ab393
commit
d56f036425
1 changed files with 1 additions and 0 deletions
1
web.py
1
web.py
|
@ -232,6 +232,7 @@ def ccc_c():
|
|||
for item in ['cc', 'ccavi']:
|
||||
session[item] = session['cctemp'][item]
|
||||
c.execute("UPDATE data SET cc = %s, ccavi = %s, latest_post = %s, time_between_checks = %s, last_check = %s WHERE username = %s AND instance = %s", (session['cc'], session['ccavi'], session['cctemp']['latest_post'], 1, 0, session['username'], session['instance']))
|
||||
del session['cctemp']
|
||||
return redirect('/cc_connect/complete')
|
||||
|
||||
@app.route('/cc_connect/complete')
|
||||
|
|
Loading…
Reference in a new issue