Skip to content

Commit

Permalink
[qa] Updated qa.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ppabcd committed Nov 22, 2018
1 parent 8023805 commit b9c344e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openwisp_utils/qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def check_commit_message():
args = _commit_check_args()

if not args.token:
if os.environ["GH_TOKEN"]:
if "GH_TOKEN" in os.environ:
github_token = os.environ["GH_TOKEN"]
else:
raise Exception("CLI arguement `token` is required "
Expand Down

0 comments on commit b9c344e

Please sign in to comment.