From c3936539945d33aab75abf884e373147e05de827 Mon Sep 17 00:00:00 2001 From: Anderson T Date: Tue, 3 Dec 2024 11:34:59 -0800 Subject: [PATCH] small bugfix --- sdk/fetch_events.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sdk/fetch_events.py b/sdk/fetch_events.py index 1e202f8..201c01f 100644 --- a/sdk/fetch_events.py +++ b/sdk/fetch_events.py @@ -103,12 +103,14 @@ def updateDataFromNotion(writeLocation="data/") -> bool: break if stale_data: - continue + pass else: update_count += 1 # Process image if present - if p["Thumbnail"]["files"]: + if stale_data: + pass + elif p["Thumbnail"]["files"]: file_name = p["Thumbnail"]["files"][0]["name"] file_url = ( p["Thumbnail"]["files"][0]["file"]["url"]