Skip to content
Snippets Groups Projects
Commit 3670cbee authored by Christian Fobel's avatar Christian Fobel
Browse files

Make metadata arg optional

parent b6e5e44a
Branches
Tags
1 merge request!10Move to gtk3 and new command protocol
......@@ -101,8 +101,9 @@ class DstatPlugin(ZmqPlugin):
data = decode_content_data(request)
self.parent.statusbar.push(self.parent.message_context_id, "µDrop "
"acquisition requested.")
return self.parent.run_active_experiment(metadata=data['metadata'])
return self.parent.run_active_experiment(metadata=data
.get('metadata'))
def on_execute__set_metadata(self, request=None):
'''
Args
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment