This commit is contained in:
pengtao 2019-11-21 17:28:05 +08:00
parent 8a50234942
commit 8fcb4b3030

View File

@ -109,7 +109,7 @@ def send_tapweekly():
msg = Message(title, sender=sender, recipients=recipients)
twr = TapWeeklyReport(day)
data = twr.build()
print(data)
#print(data)
# data[day] = day
msg.subject = f"TAPTAP_{day}_游戏周报"
if data:
@ -542,7 +542,7 @@ class TapWeeklyReport:
catename='{tap_type}'
and date = '{self.day}'
order by
`order` desc limit {self.limit};"""
`order` limit {self.limit};"""
data = self.db_conn.query(sql)
log.info(f"sql={sql}")