fixbug
This commit is contained in:
parent
8a50234942
commit
8fcb4b3030
@ -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}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user