From c6003e5ef977777f99caace53d6c7c33c4c05fd9 Mon Sep 17 00:00:00 2001 From: James Jennett-Wheeler Date: Tue, 24 Jun 2025 14:45:31 +0100 Subject: [PATCH] Improve print --- app/monitor-planning.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/monitor-planning.py b/app/monitor-planning.py index 15d05f5..277d35b 100644 --- a/app/monitor-planning.py +++ b/app/monitor-planning.py @@ -29,12 +29,13 @@ def notify(message): requests.post(api_url, json={"title": "Monitor Planning", "message": message}) def update_other_applications(): + print("Scrape Weekly List(s)") + there_were_newly_decided_applications = False with sqlite3.connect("./database.db") as _conn: _cursor = _conn.cursor() with webdriver.Chrome(options=web_opts) as _browser: - print("Scrape Weekly List(s)") weekly_list = WeeklyList(_cursor) for search_week_idx in range(search_past_week, @@ -67,7 +68,7 @@ def update_other_applications(): return there_were_newly_decided_applications if __name__ == '__main__': - notify(f"Script Restarted") + notify(f"Script Started") try: with sqlite3.connect("./database.db") as connection: cursor = connection.cursor()