fixed yaml loader bug
This commit is contained in:
parent
7b507e5874
commit
3ac22718f9
1 changed files with 3 additions and 1 deletions
|
|
@ -276,7 +276,9 @@ class DeployMeta(QMainWindow):
|
||||||
path_config_full = os.path.join(
|
path_config_full = os.path.join(
|
||||||
self.path_templates, self.CONFIG_TYPES[configname])
|
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
|
return configuration_file
|
||||||
|
|
||||||
def store_config(self):
|
def store_config(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue