From 4846217445af161cd14ed76e3eb6ca8f521080ad Mon Sep 17 00:00:00 2001 From: Peter Eckersley Date: Fri, 17 Mar 2017 15:20:24 -0700 Subject: [PATCH] Make config.renewing always a string. --- certbot/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/certbot/main.py b/certbot/main.py index d0dc0721a..bc61ef568 100644 --- a/certbot/main.py +++ b/certbot/main.py @@ -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