fixbug
This commit is contained in:
parent
db302dfaa9
commit
6b9f2ea198
@ -534,7 +534,6 @@ class TapWeeklyReport:
|
||||
temp["row_data"] = []
|
||||
for line in data_key[0]:
|
||||
#print(f"line={line}")
|
||||
#pdb.set_trace()
|
||||
tt = {}
|
||||
# (30802, '死战骑士团', 56, 56, 56, 0, 5.1, '付费,策略,单机', 8984, 0, 7794, 0, 272, 34)
|
||||
tt['gameid'], tt['title'], tt['order'], tt['min_order'], tt['max_order'], tt['diff_order'],tt['score'], tt['tags'], tt['watch'], tt['download'], tt['sell'], tt['reserve'], tt['review'],tt['topic'] = line
|
||||
@ -543,6 +542,7 @@ class TapWeeklyReport:
|
||||
for item in tt.keys():
|
||||
if item not in rows:
|
||||
new_tt.pop(item)
|
||||
pdb.set_trace()
|
||||
temp["row_data"].append(new_tt)
|
||||
except Exception:
|
||||
log.error(f"struct data with {line} Failed", exc_info=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user