diff --git a/dist/chromium/publish-beta.py b/dist/chromium/publish-beta.py index 03e781e13..924b8ebe6 100755 --- a/dist/chromium/publish-beta.py +++ b/dist/chromium/publish-beta.py @@ -2,7 +2,6 @@ import datetime import json -import jwt import os import re import requests diff --git a/dist/firefox/publish-signed-beta.py b/dist/firefox/publish-signed-beta.py index 8dbd7048c..96afe21a9 100755 --- a/dist/firefox/publish-signed-beta.py +++ b/dist/firefox/publish-signed-beta.py @@ -190,7 +190,7 @@ def get_jwt_auth(): 'iat': datetime.datetime.utcnow(), 'exp': datetime.datetime.utcnow() + datetime.timedelta(seconds=15), } - return 'JWT ' + jwt.encode(jwt_payload, amo_secret).decode() + return 'JWT ' + jwt.encode(jwt_payload, amo_secret) print('Ask AMO to sign self-hosted xpi package...') with open(unsigned_xpi_filepath, 'rb') as f: diff --git a/dist/mv3/publish-beta.py b/dist/mv3/publish-beta.py index a5b4a2780..18ecae4ae 100755 --- a/dist/mv3/publish-beta.py +++ b/dist/mv3/publish-beta.py @@ -2,7 +2,6 @@ import datetime import json -import jwt import os import re import requests