From 3512605b8c0370905ae9e7a2adc79ddded2d8d20 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 12 Jul 2013 13:12:59 +0200 Subject: fixed addon related bugs --- pyload/remote/wsbackend/AsyncHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyload/remote/wsbackend') diff --git a/pyload/remote/wsbackend/AsyncHandler.py b/pyload/remote/wsbackend/AsyncHandler.py index 88bd371b0..f1c584b7d 100644 --- a/pyload/remote/wsbackend/AsyncHandler.py +++ b/pyload/remote/wsbackend/AsyncHandler.py @@ -52,7 +52,7 @@ class AsyncHandler(AbstractHandler): self.clients = [] self.lock = Lock() - self.core.evm.addEvent("event", self.add_event) + self.core.evm.listenTo("event", self.add_event) @lock def on_open(self, req): -- cgit v1.2.3