From 8ec7fdd323b6e814ae54629e507ca23f0e736beb Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sun, 11 Oct 2015 16:20:18 -0400 Subject: [PATCH] Always create the folders --- letsencrypt/renewer.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/letsencrypt/renewer.py b/letsencrypt/renewer.py index 76922e6fd..bec868483 100644 --- a/letsencrypt/renewer.py +++ b/letsencrypt/renewer.py @@ -172,11 +172,10 @@ def main(config=None, cli_args=sys.argv[1:]): if (not os.path.isdir(cli_config.renewal_configs_dir) or not os.path.isdir(cli_config.config_dir)): print "Could not find config directory. Exiting. " - else: - le_util.make_or_verify_dir( - cli_config.work_dir, constants.CONFIG_DIRS_MODE, uid) - le_util.make_or_verify_dir( - cli_config.logs_dir, constants.CONFIG_DIRS_MODE, uid) + le_util.make_or_verify_dir( + cli_config.work_dir, constants.CONFIG_DIRS_MODE, uid) + le_util.make_or_verify_dir( + cli_config.logs_dir, constants.CONFIG_DIRS_MODE, uid) for i in os.listdir(cli_config.renewal_configs_dir): print "Processing", i