diff --git a/src/ert/run_models/everest_run_model.py b/src/ert/run_models/everest_run_model.py index c705a0ba60c..f2ee85b05c7 100644 --- a/src/ert/run_models/everest_run_model.py +++ b/src/ert/run_models/everest_run_model.py @@ -671,7 +671,7 @@ def check_if_runpath_exists(self) -> bool: def send_snapshot_event(self, event: Event, iteration: int) -> None: super().send_snapshot_event(event, iteration) - if type(event) in (EESnapshot, EESnapshotUpdate): + if type(event) in {EESnapshot, EESnapshotUpdate}: newstatus = self._simulation_status(self.get_current_snapshot()) if self._status != newstatus: # No change in status if self._sim_callback is not None: