mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 16:19:13 +02:00
Make config.renewing always a string.
This commit is contained in:
+2
-2
@@ -226,9 +226,9 @@ def _find_cert(config, domains, certname):
|
|||||||
"""
|
"""
|
||||||
action, lineage = _find_lineage_for_domains_and_certname(config, domains, certname)
|
action, lineage = _find_lineage_for_domains_and_certname(config, domains, certname)
|
||||||
if action == "renew":
|
if action == "renew":
|
||||||
config.renewing = True
|
config.renewing = "Yes"
|
||||||
elif action == "newcert":
|
elif action == "newcert":
|
||||||
config.renewing = False
|
config.renewing = "No"
|
||||||
if action == "reinstall":
|
if action == "reinstall":
|
||||||
logger.info("Keeping the existing certificate")
|
logger.info("Keeping the existing certificate")
|
||||||
return (action != "reinstall"), lineage
|
return (action != "reinstall"), lineage
|
||||||
|
|||||||
Reference in New Issue
Block a user