瀏覽代碼

Run preprocessing

Daoud Clarke 3 年之前
父節點
當前提交
003cd217f4
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      mwmbl/background.py

+ 4 - 4
mwmbl/background.py

@@ -19,10 +19,10 @@ def run(index_path: str):
         #     retrieve_batches()
         #     retrieve_batches()
         # except Exception:
         # except Exception:
         #     logger.exception("Error retrieving batches")
         #     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:
         try:
             run_update(index_path)
             run_update(index_path)
         except Exception:
         except Exception: