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:
committed by
Brad Warren
parent
8fd3f6c64c
commit
f5ad08047b
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user