From 3ac22718f90c48b68a3ab9130c260307e377624c Mon Sep 17 00:00:00 2001 From: ronnyabraham Date: Thu, 18 May 2023 17:46:51 +0300 Subject: [PATCH] fixed yaml loader bug --- bin/deploy_meta.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/deploy_meta.py b/bin/deploy_meta.py index 5eef282..e741f05 100644 --- a/bin/deploy_meta.py +++ b/bin/deploy_meta.py @@ -276,7 +276,9 @@ class DeployMeta(QMainWindow): path_config_full = os.path.join( self.path_templates, self.CONFIG_TYPES[configname]) - configuration_file = yaml.load(open(path_config_full, 'r')) + print("path_config_full: %s" % path_config_full) + + configuration_file = yaml.safe_load(open(path_config_full, 'r')) return configuration_file def store_config(self):