From 315143bb5ea31b70c4995011969ae92f231c07b0 Mon Sep 17 00:00:00 2001 From: Milsim DK Date: Fri, 27 Sep 2024 19:04:55 +0200 Subject: [PATCH] Working on v1.3.0 --- entrypoint.d/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.d/__init__.py b/entrypoint.d/__init__.py index 247651d..8145cd0 100644 --- a/entrypoint.d/__init__.py +++ b/entrypoint.d/__init__.py @@ -47,7 +47,7 @@ def mediamtx_config_init(): #************ INIT ************ # Get config file, # Load config.yml if it exists -if not os.path.exists(config_file) or bool( os.environ.get("DEV_CONFIG_OVERWRITE", False) ): +if not os.path.exists(config_file) or bool( yaml.safe_load(os.environ.get("DEV_CONFIG_OVERWRITE", False)) ): print("Container init | Creating config.yml") # Get default config from opentakserver