From 4784fe89718295e76a57102848bdcc2aa019c2d9 Mon Sep 17 00:00:00 2001 From: Tomas Machalek Date: Fri, 18 Nov 2022 14:56:35 +0100 Subject: [PATCH] Fix returned data when archiving a query (support ticket 2772)... ... (this is already fixed in the master branch) --- lib/plugins/mysql_query_persistence/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/plugins/mysql_query_persistence/__init__.py b/lib/plugins/mysql_query_persistence/__init__.py index 2002f8348f..d776685a0a 100644 --- a/lib/plugins/mysql_query_persistence/__init__.py +++ b/lib/plugins/mysql_query_persistence/__init__.py @@ -276,6 +276,7 @@ def archive(self, user_id, conc_id, revoke=False): ans = 0 else: will_be_archived = self.will_be_archived(None, conc_id) + archived_rec = data if will_be_archived is not None: data_key = mk_key(conc_id) self.db.list_append(self._archive_queue_key, dict(key=data_key, revoke=will_be_archived))