decipher_all bytes
parent
6357e2da80
commit
cba5a42ba8
|
@ -101,7 +101,7 @@ def resolve_all(x, default=None):
|
||||||
def decipher_all(decipher, objid, genno, x):
|
def decipher_all(decipher, objid, genno, x):
|
||||||
"""Recursively deciphers the given object.
|
"""Recursively deciphers the given object.
|
||||||
"""
|
"""
|
||||||
if isinstance(x, str):
|
if isinstance(x, bytes):
|
||||||
return decipher(objid, genno, x)
|
return decipher(objid, genno, x)
|
||||||
if isinstance(x, list):
|
if isinstance(x, list):
|
||||||
x = [decipher_all(decipher, objid, genno, v) for v in x]
|
x = [decipher_all(decipher, objid, genno, v) for v in x]
|
||||||
|
|
Loading…
Reference in New Issue