templating - fixing bugs with autoconf

This commit is contained in:
bunkerity
2021-05-27 14:41:21 +02:00
parent f950abdc24
commit 0f8e56a668
6 changed files with 28 additions and 143 deletions

View File

@@ -56,7 +56,7 @@ if __name__ == "__main__" :
templator.render_global()
if config["MULTISITE"] == "no" :
templator.render_site()
else :
elif config["SERVER_NAME"] != "" :
# Compute a dict of first_server: [list of server_name]
map_servers = {}
for server_name in config["SERVER_NAME"].split(" ") :