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:
parent
4a211c11fa
commit
81c8fb6fa7
2 changed files with 4 additions and 2 deletions
|
@ -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"
|
||||||
|
|
|
@ -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?!")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue