Skip to content

Commit afa9bae

Browse files
committed
Skip empty records in map #269
1 parent ce7c6e4 commit afa9bae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

notion/store.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ def call_load_page_chunk(self, page_id):
289289

290290
def store_recordmap(self, recordmap):
291291
for table, records in recordmap.items():
292+
if records is None: continue
292293
for id, record in records.items():
293294
self._update_record(
294295
table, id, value=record.get("value"), role=record.get("role")

0 commit comments

Comments
 (0)