fix: bytes
This commit is contained in:
parent
886325e2fe
commit
bd9112e942
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
@ -34,7 +34,7 @@ def encrypt(text: str) -> str:
|
|||
return fn.encrypt(text.encode())
|
||||
|
||||
def decrypt(token: str) -> str:
|
||||
return fn.decrypt(bytes(token)).decode()
|
||||
return fn.decrypt(token).decode()
|
||||
|
||||
async def async_list(values: list) -> Any:
|
||||
for value in values:
|
||||
|
|
Reference in a new issue