Skip to content
Snippets Groups Projects
Unverified Commit 41fe6165 authored by Martyn Gigg's avatar Martyn Gigg Committed by GitHub
Browse files

Merge pull request #22215 from mantidproject/22213_fix_StartLiveData_python_API_bug

Fix bug when using StartLiveData through Python API
parents 0a325d59 9737a3dd
No related merge requests found
...@@ -266,6 +266,10 @@ def StartLiveData(*args, **kwargs): ...@@ -266,6 +266,10 @@ def StartLiveData(*args, **kwargs):
try: try:
if value is None: if value is None:
value = kwargs.pop(name) value = kwargs.pop(name)
else:
# We don't need the value, but still need to remove from kwargs
# so that this property isn't set again later
kwargs.pop(name, None)
algm.setProperty(name, value) algm.setProperty(name, value)
except ValueError as ve: except ValueError as ve:
......
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