Skip to content
Snippets Groups Projects

To fix error while using update_config script

Merged Ebad Kamil requested to merge update_config into master
All threads resolved!
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -176,7 +176,7 @@ async def change_config(socket, config, updated_config, karabo_id, instrument, c
if action != "data-mapping":
subconf[action][instrument] = instruments[instrument]
else:
subconf[action][instrument] = instruments[karabo_id]
subconf[action][karabo_id] = instruments[karabo_id]
with open(fpath, "w") as wf:
wf.write(yaml.dump(subconf, default_flow_style=False))
new_conf = None
Loading