Skip to content

Commit

Permalink
Merge pull request #5437 from czcorpus/supp2772
Browse files Browse the repository at this point in the history
Fix returned data when archiving a query (support ticket 2772)...
  • Loading branch information
tomachalek authored Nov 18, 2022
2 parents 5bcc91a + 4784fe8 commit e8642ce
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 e8642ce

Please sign in to comment.