diff --git a/daily_report/dreport.py b/daily_report/dreport.py index 90f75f7..5b147c7 100644 --- a/daily_report/dreport.py +++ b/daily_report/dreport.py @@ -4,8 +4,9 @@ from flask import render_template class Report: - def __init__(self, gameid): + def __init__(self, gameid, channelid): self.gameid = gameid + self.channelid = channelid def run(self): @@ -13,9 +14,10 @@ class Report: def main(): + channelid = 6001 gameids = (1004, 2001) for gameid in gameids: - cc = Report(gameid) + cc = Report(gameid, channelid) cc.run()