From 549253b39b33465bdeec83a0d2de264770c39fe5 Mon Sep 17 00:00:00 2001 From: xjules Date: Thu, 5 Sep 2024 16:12:30 +0200 Subject: [PATCH] Fix error --- src/ert/run_models/base_run_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ert/run_models/base_run_model.py b/src/ert/run_models/base_run_model.py index c72a99d7cca..57660c0640d 100644 --- a/src/ert/run_models/base_run_model.py +++ b/src/ert/run_models/base_run_model.py @@ -449,7 +449,7 @@ async def run_monitor( ): event = cast(Union[EESnapshot, EESnapshotUpdate], event) with ThreadPoolExecutor() as pool: - await asyncio.get_running_loop.run_in_executor( + await asyncio.get_running_loop().run_in_executor( pool, self.send_snapshot_event(event, iteration) )