Skip to content

Commit

Permalink
webhook: fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
dgw committed Jan 20, 2020
1 parent 08a816a commit 23a3a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sopel_modules/github/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def handle_auth_response():
res = json.loads(raw.text)

if 'error' in res:
raise ValueError('{err}: {desc}'.format(err=res['error'], desc=res['error_description'])
raise ValueError('{err}: {desc}'.format(err=res['error'], desc=res['error_description']))
if 'scope' not in res:
raise ValueError('You\'ve already completed authorization on this repo')
if 'write:repo_hook' not in res['scope']:
Expand Down

0 comments on commit 23a3a28

Please sign in to comment.