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 19, 2024
1 parent e060906 commit 3cde5a4
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 @@ -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:
Expand Down

0 comments on commit 3cde5a4

Please sign in to comment.