From ffb5beb2632c143a4b4445c1abcfb363107fc081 Mon Sep 17 00:00:00 2001 From: Anderson T Date: Wed, 4 Dec 2024 08:45:01 -0800 Subject: [PATCH] agh --- sdk/fetch_execs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/fetch_execs.py b/sdk/fetch_execs.py index 7b4adbd..75ea24c 100644 --- a/sdk/fetch_execs.py +++ b/sdk/fetch_execs.py @@ -82,7 +82,7 @@ def updateDataFromNotion(writeLocation="data/") -> bool: if page["last_edited_time"] > execs_latest_update: execs_latest_update = page["last_edited_time"] - if len(local_data.events) != len(exec_pages["results"]): + if len(local_data.executives) != len(exec_pages["results"]): update_count += 1 # if there are no new updates then we should save the time that we last checked and then exit.