diff --git a/deepwell/importer/database.py b/deepwell/importer/database.py index 9107a2455b..8e04a31f92 100644 --- a/deepwell/importer/database.py +++ b/deepwell/importer/database.py @@ -221,7 +221,7 @@ def add_page(self, cur, *, site_slug: str, page_descr: str, metadata: dict) -> N site_slug, sitemap_updated_at, metadata.get("title", ""), - metadata["is_locked"], + metadata.get("is_locked", False), json.dumps(metadata.get("tags", [])), ), )