Skip to content

armgit / mwmbl

Public Imported from GitHub
0

An open source, non-profit web search engine

Fix lint error

blueheron786cc25e59e447c
diff --git a/mwmbl/apps.py b/mwmbl/apps.py
index a58f901..b230425 100644
--- a/mwmbl/apps.py
+++ b/mwmbl/apps.py
@@ -22,7 +22,7 @@ def create_index(index_name, num_pages, rebuild_on_mismatch=False):
index_path = Path(settings.DATA_PATH) / index_name
index_path.parent.mkdir(parents=True, exist_ok=True)
-
+
try:
existing_index = TinyIndex(item_factory=Document, index_path=index_path)
except FileNotFoundError: