fix empty reply

This commit is contained in:
simon 2023-03-23 09:57:16 +07:00
parent 272972429b
commit 860213c427
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class RedisArchivist(RedisBase):
"""list all matches"""
all_matches = self.list_keys(query)
if not all_matches:
return False
return []
return [self.get_message(i) for i in all_matches]