fix: bytes
This commit is contained in:
parent
886325e2fe
commit
bd9112e942
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(token).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 New Issue
Block a user