Compare commits
No commits in common. "1a1dfc7d2a85fe01c568bb9b6e40750f487a8ade" and "7ebf0b48a4093b2f45a5a8488d8d576e03a4d016" have entirely different histories.
1a1dfc7d2a
...
7ebf0b48a4
4 changed files with 3 additions and 8 deletions
|
@ -217,8 +217,6 @@ class MainProcess:
|
|||
except Exception as e:
|
||||
raise ValueError(f'Failed to initalize {module_name} plugin "{plugin_name}" - {e}')
|
||||
|
||||
self.bus_server.update_eventclasses()
|
||||
|
||||
# Run plugin definitions
|
||||
with progressbar(list(config.nodes), label=f"Executing {self.config_path}") as bar:
|
||||
for node in bar:
|
||||
|
|
|
@ -19,9 +19,6 @@ class WebsocketServerProcess:
|
|||
self._send_queue = asyncio.Queue()
|
||||
self.clients = set()
|
||||
|
||||
self.update_eventclasses()
|
||||
|
||||
def update_eventclasses(self):
|
||||
self._event_classes = get_subclasses(Event)
|
||||
|
||||
# Data input (external application socket -> plugin/chat pipe)
|
||||
|
@ -48,7 +45,7 @@ class WebsocketServerProcess:
|
|||
except websockets.exceptions.ConnectionClosedError:
|
||||
pass
|
||||
except asyncio.CancelledError:
|
||||
await ws.close()
|
||||
ws.close()
|
||||
finally:
|
||||
self.clients.discard(ws)
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import pickle
|
|||
import os
|
||||
|
||||
import maya
|
||||
from httpx import HTTPError
|
||||
from httpx.exceptions import HTTPError
|
||||
from owoify.owoify import owoify, Owoness
|
||||
|
||||
from ovtk_audiencekit.core import PluginBase
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from argparse import ArgumentError
|
||||
|
||||
from httpx import HTTPError
|
||||
from httpx.exceptions import HTTPError
|
||||
|
||||
from ovtk_audiencekit.core import PluginBase
|
||||
from ovtk_audiencekit.plugins.builtins.Command import Command, CommandTypes
|
||||
|
|
Loading…
Add table
Reference in a new issue