[mod] avoid useless indentation

This commit is contained in:
Laurent Peuch 2016-10-30 05:30:54 +01:00
parent 34f9890517
commit 55d007f130

View file

@ -366,7 +366,8 @@ location '/.well-known/acme-challenge'
# Write the conf
if os.path.exists(nginx_conf_file):
logger.info("Nginx configuration file for ACME challenge already exists for domain, skipping.")
else:
return
logger.info("Adding Nginx configuration file for Acme challenge for domain %s.", domain)
with open(nginx_conf_file, "w") as f: