intermittent commit
This commit is contained in:
@@ -38,8 +38,8 @@ def _normalize_fernet_key(value: str) -> bytes:
|
||||
try:
|
||||
Fernet(candidate)
|
||||
return candidate
|
||||
except Exception:
|
||||
pass
|
||||
except (TypeError, ValueError):
|
||||
raw = None
|
||||
try:
|
||||
raw = base64.b64decode(candidate)
|
||||
except Exception as exc:
|
||||
|
||||
Reference in New Issue
Block a user