Skip to content
Snippets Groups Projects
Commit b6496248 authored by Karim Ahmed's avatar Karim Ahmed
Browse files

Merge branch 'update_config' into 'master'

To fix error while using update_config script

See merge request detectors/pycalibration!339
parents dba31abb 765dbc6a
No related branches found
No related tags found
1 merge request!339To fix error while using update_config script
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment