Make config.renewing always a string.

This commit is contained in:
Peter Eckersley 2017-03-17 15:20:24 -07:00
parent f259a17549
commit 4846217445

View file

@ -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