There was an error while loading. Please reload this page.
1 parent fd5d18d commit 132f5b3Copy full SHA for 132f5b3
1 file changed
snappass/storage.py
@@ -63,6 +63,8 @@ def get_password(storage_key: str) -> typing.Optional[str]:
63
password = redis_client.getdel(storage_key)
64
65
if password is not None:
66
+ if isinstance(password, str):
67
+ return password
68
return password.decode('utf-8')
69
return None
70
0 commit comments