Correct bad variable name
This commit is contained in:
parent
acc7c1b554
commit
46c5e8e36c
|
@ -529,7 +529,7 @@ def update_userdata(name, userdata):
|
||||||
retcode = 400
|
retcode = 400
|
||||||
return retmsg, retcode
|
return retmsg, retcode
|
||||||
|
|
||||||
tid, code = list_userdata(name, is_fuzzy=False)
|
data, code = list_userdata(name, is_fuzzy=False)
|
||||||
tid = data[0]['id']
|
tid = data[0]['id']
|
||||||
|
|
||||||
conn, cur = open_database(config)
|
conn, cur = open_database(config)
|
||||||
|
|
Loading…
Reference in New Issue