summaryrefslogtreecommitdiff
path: root/rag/db
diff options
context:
space:
mode:
Diffstat (limited to 'rag/db')
-rw-r--r--rag/db/document.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rag/db/document.py b/rag/db/document.py
index 8e4d208..c449158 100644
--- a/rag/db/document.py
+++ b/rag/db/document.py
@@ -56,4 +56,4 @@ class DocumentDB:
(hash,),
)
self.conn.commit()
- return exist is not None
+ return exist is None