From 14e150c9f8617d9bd2e95ad2831f4c2aadc2ec14 Mon Sep 17 00:00:00 2001 From: Mike Cantelon Date: Sun, 7 Apr 2024 16:02:04 -0700 Subject: [PATCH] work --- AIPscan/typesense_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AIPscan/typesense_helpers.py b/AIPscan/typesense_helpers.py index fa106d53..4c472edc 100755 --- a/AIPscan/typesense_helpers.py +++ b/AIPscan/typesense_helpers.py @@ -181,7 +181,7 @@ def initialize_index(): # Delete collection if it exists try: ts_client.collections[collection_prefix(table)].delete() - except Exception: + except typesense.exceptions.ObjectNotFound: pass # Create collection