Skip to content

Commit

Permalink
Use if not rather than if !
Browse files Browse the repository at this point in the history
Fixes #6. Thanks @adamgoucher.
  • Loading branch information
jdub committed Oct 3, 2017
1 parent 356c3bd commit 8162412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acm.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def validate(event, context):
match = confirm_url.search(msg['content'])

# Ignore emails that don't match the certificate confirm URL
if !match:
if not match:
return

url = match.group(0)
Expand Down

0 comments on commit 8162412

Please sign in to comment.