diff --git a/python/pysmurf/client/tune/smurf_tune.py b/python/pysmurf/client/tune/smurf_tune.py index 3fbadae8..b03dc31a 100644 --- a/python/pysmurf/client/tune/smurf_tune.py +++ b/python/pysmurf/client/tune/smurf_tune.py @@ -3627,8 +3627,7 @@ def parallel_find_freq(self, bands=None, **kwargs): if bands is None: bands = self.bands - with asyncio.Runner() as runner: - freq, resp = runner.run(self._async_parallel_find_freq(bands, **kwargs)) + freq, resp = asyncio.run(self._async_parallel_find_freq(bands, **kwargs)) return freq, resp