Skip to content

Commit

Permalink
small bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Highfire1 committed Dec 3, 2024
1 parent ff52656 commit c393653
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sdk/fetch_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit c393653

Please sign in to comment.