mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
Make config.renewing always a string.
This commit is contained in:
parent
f259a17549
commit
4846217445
1 changed files with 2 additions and 2 deletions
|
|
@ -226,9 +226,9 @@ def _find_cert(config, domains, certname):
|
|||
"""
|
||||
action, lineage = _find_lineage_for_domains_and_certname(config, domains, certname)
|
||||
if action == "renew":
|
||||
config.renewing = True
|
||||
config.renewing = "Yes"
|
||||
elif action == "newcert":
|
||||
config.renewing = False
|
||||
config.renewing = "No"
|
||||
if action == "reinstall":
|
||||
logger.info("Keeping the existing certificate")
|
||||
return (action != "reinstall"), lineage
|
||||
|
|
|
|||
Loading…
Reference in a new issue