This commit is contained in:
pengtao 2019-11-22 11:40:54 +08:00
parent db302dfaa9
commit 6b9f2ea198

View File

@ -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)