From 45eb4390303d75c67b8045966df4efc0d582c849 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Mon, 4 Dec 2023 05:36:22 -0800 Subject: [PATCH] Fix formatting --- news/update_news.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/news/update_news.py b/news/update_news.py index 8675b30..e037c9c 100644 --- a/news/update_news.py +++ b/news/update_news.py @@ -6,8 +6,8 @@ from datetime import date from news import scrape_news def update_news_data(): - news_data = scrape_news(date.today()) - insert(news_data) + news_data = scrape_news(date.today()) + insert(news_data) if __name__ == '__main__': schedule.every().day.at('02:00', 'America/Los_Angeles').do(update_news_data)