Skip to content

Commit

Permalink
Ruff style check
Browse files Browse the repository at this point in the history
  • Loading branch information
verveerpj committed Dec 20, 2024
1 parent 91aa7d8 commit d483532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ert/run_models/everest_run_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d483532

Please sign in to comment.