From 3a4efdbb50add7abd26a0f6e145dec1e0b897e77 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 6 Apr 2024 01:39:58 +0200 Subject: Fix document bug --- rag/db/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rag/db') 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 -- cgit v1.2.3-70-g09d2