Skip to content
Snippets Groups Projects
Commit 17085a08 authored by Arthur Le Bars's avatar Arthur Le Bars
Browse files

authelia_config_path key str fix

parent e9a330e2
No related branches found
No related tags found
2 merge requests!3release 1.0.1,!2Corrections cloud
......@@ -202,7 +202,7 @@ def make_traefik_compose_files(config, main_dir):
traefik_compose_file.truncate(0)
traefik_compose_file.write(traefik_compose_output)
if authelia_config_path in config.keys():
if "authelia_config_path" in config.keys():
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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment