Skip to content

Commit

Permalink
Fix returned data when archiving a query (support ticket 2772)...
Browse files Browse the repository at this point in the history
... (this is already fixed in the master branch)
  • Loading branch information
tomachalek committed Nov 18, 2022
1 parent 5bcc91a commit 4784fe8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/plugins/mysql_query_persistence/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 4784fe8

Please sign in to comment.