add daily report 脚本
This commit is contained in:
parent
5ec2372c9f
commit
6c250158dd
2
daily_report/__init__.py
Normal file
2
daily_report/__init__.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from __future__ import absolute_import
|
23
daily_report/dreport.py
Normal file
23
daily_report/dreport.py
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from __future__ import absolute_import
|
||||||
|
from flask import render_template
|
||||||
|
|
||||||
|
|
||||||
|
class Report:
|
||||||
|
def __init__(self, gameid):
|
||||||
|
self.gameid = gameid
|
||||||
|
|
||||||
|
|
||||||
|
def run(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
gameids = (1004, 2001)
|
||||||
|
for gameid in gameids:
|
||||||
|
cc = Report(gameid)
|
||||||
|
cc.run()
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
Loading…
x
Reference in New Issue
Block a user