Skip to content

Commit

Permalink
Fix comparison to check values (#5815)
Browse files Browse the repository at this point in the history
  • Loading branch information
joohoi authored and bmw committed Apr 3, 2018
1 parent 8fd3f6c commit f5ad080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion certbot-nginx/certbot_nginx/configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ def get_version(self):
raise errors.PluginError("Nginx build doesn't support SNI")

product_name, product_version = version_matches[0]
if product_name is not 'nginx':
if product_name != 'nginx':
logger.warning("NGINX derivative %s is not officially supported by"
" certbot", product_name)

Expand Down

0 comments on commit f5ad080

Please sign in to comment.