summaryrefslogtreecommitdiff
path: root/rag/db/document.py
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-04-06 01:39:58 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-04-06 01:39:58 +0200
commit3a4efdbb50add7abd26a0f6e145dec1e0b897e77 (patch)
tree1b62f3e3b0e239f6eb08b686d7aa5f786b94a3e6 /rag/db/document.py
parent8fda223c36db69d7fb5c029bd55a1321c9812a7a (diff)
Fix document bug
Diffstat (limited to 'rag/db/document.py')
-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