Fixed massive bug in config contraction
This commit is contained in:
parent
e0c09b2845
commit
cd1e450a2b
1 changed files with 2 additions and 2 deletions
|
|
@ -93,10 +93,10 @@ class OpenflexureConfig():
|
||||||
type(value) is dict):
|
type(value) is dict):
|
||||||
|
|
||||||
# Create the file if it doesn't exist
|
# Create the file if it doesn't exist
|
||||||
self.initialise_file(value)
|
self.initialise_file(self.raw_config[key])
|
||||||
self.save_yaml_file(self.raw_config[key], value)
|
self.save_yaml_file(self.raw_config[key], value)
|
||||||
else:
|
else:
|
||||||
self.raw_config = value
|
self.raw_config[key] = value
|
||||||
|
|
||||||
|
|
||||||
def load_yaml_file(self, config_path) -> dict:
|
def load_yaml_file(self, config_path) -> dict:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue