revert rag_storage.py changes

This commit is contained in:
Matt B
2024-12-13 00:32:23 +08:00
parent 8af3e86332
commit 93d43bc8a4

View File

@@ -153,7 +153,6 @@ class RAGStorage(BaseRAGStorage):
shutil.rmtree(f"{db_storage_path()}/{self.type}")
if self.app:
self.app.reset()
except Exception as e:
if "attempt to write a readonly database" in str(e):
# Ignore this specific error