From 59b13137a6f7fbd7f18e6b33700915ff1698254c Mon Sep 17 00:00:00 2001 From: Emmie Maeda Date: Sat, 6 Jul 2024 00:48:44 -0400 Subject: [PATCH] Add another default False. --- deepwell/importer/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", [])), ), )