This commit is contained in:
root 2019-11-22 11:45:19 +08:00
parent 6b9f2ea198
commit f6c5886587

View File

@ -110,7 +110,7 @@ def send_tapweekly():
msg = Message(title, sender=sender, recipients=recipients) msg = Message(title, sender=sender, recipients=recipients)
twr = TapWeeklyReport(day) twr = TapWeeklyReport(day)
data = twr.run() data = twr.run()
#print(data) print(data)
# data[day] = day # data[day] = day
msg.subject = f"TAPTAP_{day}_游戏周报" msg.subject = f"TAPTAP_{day}_游戏周报"
if data: if data:
@ -542,7 +542,6 @@ class TapWeeklyReport:
for item in tt.keys(): for item in tt.keys():
if item not in rows: if item not in rows:
new_tt.pop(item) new_tt.pop(item)
pdb.set_trace()
temp["row_data"].append(new_tt) temp["row_data"].append(new_tt)
except Exception: except Exception:
log.error(f"struct data with {line} Failed", exc_info=True) log.error(f"struct data with {line} Failed", exc_info=True)