From ae63f83fb38036a7ba5186ee336c0a70b3b457ef Mon Sep 17 00:00:00 2001 From: Loraine Gueguen <loraine.gueguen@sb-roscoff.fr> Date: Fri, 2 Apr 2021 08:32:03 +0200 Subject: [PATCH] Fix authelia_config_path --- gga_init.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gga_init.py b/gga_init.py index 3093fac..67be6ed 100755 --- a/gga_init.py +++ b/gga_init.py @@ -206,9 +206,9 @@ def make_traefik_compose_files(config, main_dir): if not config["authelia_config_path"] == "" or not config["authelia_config_path"] == "/path/to/authelia/config": if os.path.isfile(os.path.abspath(config["authelia_config_path"])): try: - shutil.copy(os.path.abspath(config["banner_path"]), "./traefik/authelia/configuration.yml") + shutil.copy(os.path.abspath(config["authelia_config_path"]), "./traefik/authelia/configuration.yml") except Exception as exc: - logging.critical("Could not copy authlia configuration file") + logging.critical("Could not copy authelia configuration file") sys.exit(exc) # authelia_config_template = env.get_template(os.path.basename(config["authelia_config_path"])) # authelia_config_output = authelia_config_template.render(render_vars) -- GitLab