Skip to content

Commit

Permalink
modified football/bot-football.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Asker Kakhramanov committed Feb 25, 2024
1 parent df75dec commit cf41f2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions football/bot-football.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
LAST = Gauge('bot_football_last_time_seconds',
'The last time a bot football was served.')


TOKEN = os.environ.get('football_TOKEN')
CHAT_ID = os.environ.get('football_CHAT_ID')
API_TOKEN = os.environ.get('football_API_TOKEN')
Expand Down Expand Up @@ -107,6 +106,7 @@ def job():
exit(0)

while True:
start_http_server(59725)
schedule.run_pending()
t.sleep(1)

start_http_server(59725)

0 comments on commit cf41f2b

Please sign in to comment.