scripts: cleanup

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2022-01-30 21:34:37 +01:00
parent 016a9ce34e
commit 91d6f572a5
4 changed files with 23 additions and 21 deletions

View File

@ -3,7 +3,11 @@ from authentik.lib.generators import generate_id
from yaml import safe_dump
with open("local.env.yml", "w") as _config:
safe_dump({
"log_level": "debug",
"secret_key": generate_id(),
}, _config, default_flow_style=False)
safe_dump(
{
"log_level": "debug",
"secret_key": generate_id(),
},
_config,
default_flow_style=False,
)