Convert WebUI to logging.Handler subclass

This commit is contained in:
Fabian Dill
2021-01-19 06:37:35 +01:00
parent e2075686c2
commit 276d49981e
3 changed files with 74 additions and 84 deletions

View File

@@ -12,6 +12,7 @@ class Node:
def __init__(self):
self.endpoints = []
super(Node, self).__init__()
def broadcast_all(self, msgs):
msgs = json.dumps(msgs)