fix: change b64-encoded token to unicode string

This commit is contained in:
eggy 2024-05-02 03:06:53 -04:00
parent becb84a73d
commit b1d7badef4
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ log = logger.create()
def b64encode_json(json_data):
return b64encode(json.dumps(json_data).encode())
return b64encode(json.dumps(json_data).encode()).decode("utf-8")
# Python3 has a timestamp() method we could be calling, however it's not avaiable in python2.