添加daily report生成

This commit is contained in:
pengtao 2019-10-22 11:47:49 +08:00
parent b42cf807ba
commit cb8e41e49c

View File

@ -171,7 +171,7 @@ class Report:
ad_1 = self.tga.get_data(ad_1_sql)[0][0]
ad_201 = self.tga.get_data(ad_201_sql)[0][0]
pdb.set_trace()
return (activa, new, share, timeonlie, ad_101, ad_1, ad_201)
return [activa, new, share, timeonlie, ad_101, ad_1, ad_201]
except Exception:
log.error(f"get data from tga failed ,{self.gameid}", exc_info=True)
return None