Skip to content

Commit ff25710

Browse files
authored
Merge pull request #270 from jheddings/master
Skip empty records in map
2 parents ce7c6e4 + afa9bae commit ff25710

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)