mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 05:29:17 +02:00
Fixed failing tests
This commit is contained in:
parent
14d5b0c69c
commit
f8675c6080
3 changed files with 4 additions and 3 deletions
|
@ -8,7 +8,7 @@ logger = logging.getLogger(__name__)
|
|||
class RedisClient(default.DefaultClient):
|
||||
def get(self, key, default=None, version=None, client=None):
|
||||
try:
|
||||
return super().get(key, default=None, version=None, client=None)
|
||||
return super().get(key, default=default, version=version, client=client)
|
||||
except ValueError as e:
|
||||
if "unsupported pickle protocol" in str(e):
|
||||
# pickle deserialization error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue