This commit is contained in:
Guy Van Sanden 2025-02-12 11:43:23 +01:00
parent 8fa91e5e5f
commit 7532b2a064

View File

@ -12,7 +12,10 @@ versionstring='Taurix TellMe server v' + __version__
app = Flask(__name__)
lock = threading.Lock()
ws = None
uri = "ws://localhost:5080"
ws = websocket.create_connection(uri)
hooks = {}
with open(r'/etc/tellme/hooks.yml') as hooksfile:
@ -85,6 +88,4 @@ def webhook_receiver(id):
if __name__ == '__main__':
print("Started %s" % (versionstring))
uri = "ws://localhost:5080"
ws = websocket.create_connection(uri)
app.run()