diff --git a/Dockerfile b/Dockerfile index 8e93c6f..1fceb50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,5 +2,4 @@ FROM python:3.11-alpine COPY ./requirements.txt /app/requirements.txt RUN [ "pip", "install", "-r", "/app/requirements.txt" ] COPY ./src /app/src -COPY ./data /app/data CMD [ "python", "/app/src/main.py" ] \ No newline at end of file diff --git a/src/timetable.py b/src/timetable.py index b0ea87c..c921e1e 100644 --- a/src/timetable.py +++ b/src/timetable.py @@ -27,7 +27,6 @@ import mongo import time from datetime import datetime, timedelta -# This module downloads a single TOCs Schedule data now = datetime.now() yesterday = now - timedelta(days=1) yesterdayDay = yesterday.strftime("%a").lower()