fix data
This commit is contained in:
parent
a1c2e8bfbe
commit
62163a7667
@ -113,6 +113,7 @@ class TapWeeklyReport:
|
||||
return (title, score, tags, order, watch, download, sell, review, reserve, topic)
|
||||
|
||||
def run(self):
|
||||
table_name = "tap_weekly"
|
||||
all = dict()
|
||||
data = self.build()
|
||||
for gameid in data.keys():
|
||||
@ -132,7 +133,7 @@ class TapWeeklyReport:
|
||||
all['reserve'] = data[gameid][catename].get('reserve', 0)
|
||||
all['topic'] = data[gameid][catename].get('topic', 0)
|
||||
all['date'] = self.day
|
||||
|
||||
self.db_conn.insert(table_name, all)
|
||||
print(all)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user