diff options
author | Florian Bruhin <git@the-compiler.org> | 2017-07-07 15:18:05 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2017-07-07 15:18:14 +0200 |
commit | 63fa412882d7b1dc29aecc6f61d494a667034aad (patch) | |
tree | 9c5c27d6a846fe1305ba8e3fe27f6d23da9c89c2 | |
parent | 47ad8f212eedc1b2adf76da56ba1d7f4142449b8 (diff) | |
download | qutebrowser-63fa412882d7b1dc29aecc6f61d494a667034aad.tar.gz qutebrowser-63fa412882d7b1dc29aecc6f61d494a667034aad.zip |
Fix build_release.py
-rwxr-xr-x | scripts/dev/build_release.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index 6a6adb5bd..bb5733cad 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -297,6 +297,7 @@ def read_github_token(): token_file = os.path.join(os.path.expanduser('~'), '.gh_token') with open(token_file, encoding='ascii') as f: token = f.read().strip() + return token def github_upload(artifacts, tag): @@ -349,7 +350,7 @@ def main(): if args.upload is not None: # Fail early when trying to upload without github3 installed # or without API token - import github3 + import github3 # pylint: disable=unused-variable read_github_token() if os.name == 'nt': |