bottle-jwt
bottle-jwt copied to clipboard
token is a str, so str.decode throws an error
auth.py line 227: return {"token": token.decode("utf-8"), "expires": str(expires)}
throws an error on token.decode("utf-8") because token is already a str. Looks like this is due to a later version of jwt module.