From dfd96c94e03a4564b9d0825f4db5279ef89e8576 Mon Sep 17 00:00:00 2001 From: vshulkin Date: Fri, 30 May 2025 19:06:36 -0400 Subject: [PATCH] Update tools.py Added decode("utf-8") --- tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools.py b/tools.py index 13acd79..e25e0f0 100644 --- a/tools.py +++ b/tools.py @@ -24,7 +24,7 @@ def base64_urldecode(s): ascii_string = str(s) ascii_string += '=' * (4 - (len(ascii_string) % 4)) - return base64.urlsafe_b64decode(ascii_string) + return base64.urlsafe_b64decode(ascii_string).decode("utf-8") def base64_urlencode(s):