From 1a62135ea7bb4ed57c7306d83b88d1614ae4a753 Mon Sep 17 00:00:00 2001 From: CravateRouge Date: Wed, 6 Apr 2022 21:12:40 +0200 Subject: [PATCH] Save changes before closing cursor and connection --- lib/utils/hashdb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/utils/hashdb.py b/lib/utils/hashdb.py index 312393795..4ec53185b 100644 --- a/lib/utils/hashdb.py +++ b/lib/utils/hashdb.py @@ -62,6 +62,7 @@ class HashDB(object): threadData = getCurrentThreadData() try: if threadData.hashDBCursor: + threadData.hashDBCursor.connection.commit() threadData.hashDBCursor.close() threadData.hashDBCursor.connection.close() threadData.hashDBCursor = None