diff --git a/src/ert/run_models/everest_run_model.py b/src/ert/run_models/everest_run_model.py index 21a020974ad..dd77ce060a0 100644 --- a/src/ert/run_models/everest_run_model.py +++ b/src/ert/run_models/everest_run_model.py @@ -677,7 +677,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: