bugfix
This commit is contained in:
parent
0d53ef67ed
commit
8cebcea4d7
@ -452,7 +452,7 @@ async with db.sqlorContext(dbname) as sor:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
tblfields = {{json.dumps(fields, ensure_ascii=False)}}
|
tblfields = {{json.dumps(fields, ensure_ascii=False)}}
|
||||||
tblfname = [ f['name'] for f in tblfields ]
|
tblfname = [ f['name'] for f in tblfields ]
|
||||||
other_keys = [ k for k in ns.keys() if k in tblfnmae and k != 'id' ]
|
other_keys = [ k for k in ns.keys() if k in tblfname and k != 'id' ]
|
||||||
if len(other_keys) > 0:
|
if len(other_keys) > 0:
|
||||||
r = await sor.U('{{summary[0].name}}', ns)
|
r = await sor.U('{{summary[0].name}}', ns)
|
||||||
debug('update success');
|
debug('update success');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user