fix polish name

master
Aevann 2024-10-29 20:33:44 +03:00
parent 84341ec4f7
commit 190e58903a
1 changed files with 1 additions and 1 deletions

View File

@ -1523,7 +1523,7 @@ def av():
print(STARS, flush=True)
stop(400)
string = timestamp + '.' + str(request.data)[2:-1]
string = timestamp + '.' + str(request.data.decode('utf-8'))
correct_signature = hmac.new(key=bytes(environ.get("AV_KEY").strip(), "utf-8"),
msg=bytes(string, "utf-8"),
digestmod=hashlib.sha256