Fix comparison to check values

This commit is contained in:
Joona Hoikkala 2018-03-31 19:26:36 +03:00
parent 4d706ac77e
commit fe49734b67
No known key found for this signature in database
GPG key ID: 1708DAE66E87A524

View file

@ -914,7 +914,7 @@ class NginxConfigurator(common.Installer):
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)