Fix comparison to check values (#5815)

This commit is contained in:
Joona Hoikkala
2018-04-03 12:04:57 -07:00
committed by Brad Warren
parent 8fd3f6c64c
commit f5ad08047b
+1 -1
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)