mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] avoid useless indentation
This commit is contained in:
parent
34f9890517
commit
55d007f130
1 changed files with 10 additions and 9 deletions
|
@ -366,7 +366,8 @@ location '/.well-known/acme-challenge'
|
||||||
# Write the conf
|
# Write the conf
|
||||||
if os.path.exists(nginx_conf_file):
|
if os.path.exists(nginx_conf_file):
|
||||||
logger.info("Nginx configuration file for ACME challenge already exists for domain, skipping.")
|
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)
|
logger.info("Adding Nginx configuration file for Acme challenge for domain %s.", domain)
|
||||||
|
|
||||||
with open(nginx_conf_file, "w") as f:
|
with open(nginx_conf_file, "w") as f:
|
||||||
|
|
Loading…
Add table
Reference in a new issue