diff --git a/pyproject.toml b/pyproject.toml index 98408f2a..15f86f34 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "royalnet" -version = "6.5.5" +version = "6.5.6" description = "A multipurpose bot framework" authors = ["Stefano Pigozzi "] license = "AGPL-3.0-or-later" diff --git a/royalnet/engineer/pda/base.py b/royalnet/engineer/pda/base.py index de30680d..2d30a40b 100644 --- a/royalnet/engineer/pda/base.py +++ b/royalnet/engineer/pda/base.py @@ -36,8 +36,10 @@ class PDA: log.fatal("All implementations have finished running?!") def run(self): + log.debug("Getting event loop...") + loop = asyncio.get_event_loop() log.debug("Running blockingly all implementations...") - asyncio.run(self._run()) + loop.run_until_complete(self._run()) log.fatal("Blocking call has finished?!")