From 77fae5eda6f8c69a172f8135f455abe8bc7b2617 Mon Sep 17 00:00:00 2001 From: Liam Steckler Date: Thu, 22 Feb 2024 06:41:44 -0800 Subject: [PATCH] Fix indent on pageview lookup --- kuow_fetcher.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/kuow_fetcher.py b/kuow_fetcher.py index 670377b..0cd9eb2 100644 --- a/kuow_fetcher.py +++ b/kuow_fetcher.py @@ -100,15 +100,15 @@ with Session(engine) as session: except NameError: print("Could not find or load the meta published time for this post") last_updated_time = datetime.now() - try: - pageview_story_id = article_soup.find( - "script", {"class": "pageview_story"} - )["data-id"] - except (NameError, TypeError): - print( - "Could not find or load a Pageview story ID, skipping additional processing on this post" - ) - continue + try: + pageview_story_id = article_soup.find( + "script", {"class": "pageview_story"} + )["data-id"] + except (NameError, TypeError): + print( + "Could not find or load a Pageview story ID, skipping additional processing on this post" + ) + continue try: lookup_statement = select(KuowStory).where( or_(