fixed yaml loader bug

This commit is contained in:
ronnyabraham 2023-05-18 17:46:51 +03:00
parent 7b507e5874
commit 3ac22718f9

View file

@ -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):