mirror of https://github.com/tp4a/teleport
.temp.
parent
03d47c8fcd
commit
35fd509c75
|
@ -467,7 +467,10 @@ class TPSqlitePool(TPDatabasePool):
|
|||
for item in sql_list:
|
||||
# s = item['s']
|
||||
# v = item['v']
|
||||
conn.execute(item['s'], item['v'])
|
||||
if item['v'] is None:
|
||||
conn.execute(item['s'])
|
||||
else:
|
||||
conn.execute(item['s'], item['v'])
|
||||
return True
|
||||
except Exception as e:
|
||||
# log.d('|||', s, '|||', v, '|||', '\n')
|
||||
|
|
Loading…
Reference in New Issue