修复空文件生成的BUG
This commit is contained in:
parent
2d37c4a477
commit
f946d10a27
@ -31,6 +31,7 @@ class TGA_event(GetFromTga):
|
||||
cast(json_extract(button_param,'$.id') as int)"""
|
||||
|
||||
out = self.tga.get_data(sql)
|
||||
if out:
|
||||
for line in out:
|
||||
if line:
|
||||
temp = {}
|
||||
@ -60,6 +61,7 @@ class TGA_event(GetFromTga):
|
||||
|
||||
|
||||
out = self.tga.get_data(sql)
|
||||
if out:
|
||||
for line in out:
|
||||
if line:
|
||||
temp = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user