Skip to content

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
mcantelon committed Apr 7, 2024
1 parent 591de2b commit 14e150c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AIPscan/typesense_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 14e150c

Please sign in to comment.