Improve print

This commit is contained in:
James Jennett-Wheeler 2025-06-24 14:45:31 +01:00
parent fbcf1a8dee
commit c6003e5ef9

View File

@ -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()