diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index e8d9368..0000000 --- a/Dockerfile +++ /dev/null @@ -1,9 +0,0 @@ -FROM python:3.9.9-slim-bullseye - -# Install app -ADD . /usr/src/gamedaybot -WORKDIR /usr/src/gamedaybot -RUN python3 setup.py install - -# Launch app -CMD ["python3", "gamedaybot/espn/espn_bot.py"] \ No newline at end of file diff --git a/Procfile b/Procfile index aa4bd10..469ae06 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -worker: python3 gamedaybot/espn/espn_bot.py +web: python3 main.py diff --git a/gamedaybot/espn/functionality.py b/gamedaybot/espn/functionality.py index bbe4b70..54a7c5f 100644 --- a/gamedaybot/espn/functionality.py +++ b/gamedaybot/espn/functionality.py @@ -837,9 +837,9 @@ def get_trophies(league, week=None, recap=False): week = league.current_week - 1 matchups = league.box_scores(week=week) - low_score = 9999 + low_score = 99999999 high_score = -1 - closest_score = 9999 + closest_score = 99999999 biggest_blowout = -1 for i in matchups: