1
0

fix: bytes

This commit is contained in:
オスカー、 2023-03-22 14:55:22 +00:00 committed by GitHub
parent 886325e2fe
commit bd9112e942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
app.py
View File

@ -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: