修复空文件生成的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)"""
|
cast(json_extract(button_param,'$.id') as int)"""
|
||||||
|
|
||||||
out = self.tga.get_data(sql)
|
out = self.tga.get_data(sql)
|
||||||
|
if out:
|
||||||
for line in out:
|
for line in out:
|
||||||
if line:
|
if line:
|
||||||
temp = {}
|
temp = {}
|
||||||
@ -60,6 +61,7 @@ class TGA_event(GetFromTga):
|
|||||||
|
|
||||||
|
|
||||||
out = self.tga.get_data(sql)
|
out = self.tga.get_data(sql)
|
||||||
|
if out:
|
||||||
for line in out:
|
for line in out:
|
||||||
if line:
|
if line:
|
||||||
temp = {}
|
temp = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user