Skip to content

armgit / mwmbl

Public Imported from GitHub
0

An open source, non-profit web search engine

Run preprocessing

Daoud Clarke003cd217f4dc
diff --git a/mwmbl/background.py b/mwmbl/background.py
index 5feb064..515f774 100644
--- a/mwmbl/background.py
+++ b/mwmbl/background.py
@@ -19,10 +19,10 @@ def run(index_path: str):
# retrieve_batches()
# except Exception:
# logger.exception("Error retrieving batches")
- # try:
- # run_preprocessing(index_path)
- # except Exception:
- # logger.exception("Error preprocessing")
+ try:
+ run_preprocessing(index_path)
+ except Exception:
+ logger.exception("Error preprocessing")
try:
run_update(index_path)
except Exception: