1
0

encoding?

This commit is contained in:
オスカー、 2023-03-22 14:44:50 +00:00 committed by GitHub
parent b5db0268e5
commit b4eb89366a
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(bytes(token.encode())).decode()
async def async_list(values: list) -> Any:
for value in values: