1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 03:24:20 +00:00

💥 I don't really know, I forgot to commit

This commit is contained in:
Steffo 2021-04-29 23:12:43 +02:00
parent 4a211c11fa
commit 81c8fb6fa7
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "royalnet" name = "royalnet"
version = "6.5.5" version = "6.5.6"
description = "A multipurpose bot framework" description = "A multipurpose bot framework"
authors = ["Stefano Pigozzi <me@steffo.eu>"] authors = ["Stefano Pigozzi <me@steffo.eu>"]
license = "AGPL-3.0-or-later" license = "AGPL-3.0-or-later"

View file

@ -36,8 +36,10 @@ class PDA:
log.fatal("All implementations have finished running?!") log.fatal("All implementations have finished running?!")
def run(self): def run(self):
log.debug("Getting event loop...")
loop = asyncio.get_event_loop()
log.debug("Running blockingly all implementations...") log.debug("Running blockingly all implementations...")
asyncio.run(self._run()) loop.run_until_complete(self._run())
log.fatal("Blocking call has finished?!") log.fatal("Blocking call has finished?!")