fixed a typo
This commit is contained in:
parent
145492690b
commit
02780f319f
1 changed files with 1 additions and 1 deletions
2
web.py
2
web.py
|
@ -236,7 +236,7 @@ def ccc_c():
|
|||
return redirect('/cc_connect/code?invalid')
|
||||
for item in ['cc', 'ccavi']:
|
||||
session[item] = session['cctemp'][item]
|
||||
c.execute("UPDATE data SET cc = %s, ccavi = %s, latest_post = %s, WHERE username = %s AND instance = %s", (session['cc'], session['ccavi'], session['cctemp']['latest_post'], session['username'], session['instance']))
|
||||
c.execute("UPDATE data SET cc = %s, ccavi = %s, latest_post = %s WHERE username = %s AND instance = %s", (session['cc'], session['ccavi'], session['cctemp']['latest_post'], session['username'], session['instance']))
|
||||
db.commit()
|
||||
del session['cctemp']
|
||||
return redirect('/cc_connect/complete')
|
||||
|
|
Loading…
Reference in a new issue