1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00

Fix comparison to check values (#5815)

This commit is contained in:
Joona Hoikkala
2018-04-03 22:04:57 +03:00
committed by Brad Warren
parent 8fd3f6c64c
commit f5ad08047b

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)