Skip to content
Snippets Groups Projects
Commit 4d222e86 authored by payno's avatar payno
Browse files

simplify

parent 0cd55dbc
No related branches found
No related tags found
No related merge requests found
Pipeline #181512 passed
......@@ -108,8 +108,8 @@ class WeakBeamWidgetOW(
if self._thread is not None:
_logger.warning("recover weak beam already on going")
dataset = self.get_task_input_value("dataset", MISSING_DATA)
if dataset in (None, MISSING_DATA):
dataset = self.get_task_input_value("dataset", None)
if dataset is None:
missing_dataset_msg()
return
assert isinstance(
......
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