encoding?
This commit is contained in:
parent
b5db0268e5
commit
b4eb89366a
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())
|
return fn.encrypt(text.encode())
|
||||||
|
|
||||||
def decrypt(token: str) -> str:
|
def decrypt(token: str) -> str:
|
||||||
return fn.decrypt(bytes(token)).decode()
|
return fn.decrypt(bytes(token.encode())).decode()
|
||||||
|
|
||||||
async def async_list(values: list) -> Any:
|
async def async_list(values: list) -> Any:
|
||||||
for value in values:
|
for value in values:
|
||||||
|
|
Reference in a new issue