From a513f9c12a9b95c0e9ca3ea95182874d7773f4e7 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 17 Apr 2009 21:24:49 +0000 Subject: [PATCH] Fix typo --- deluge/ui/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/ui/client.py b/deluge/ui/client.py index faae2701f..6d9419168 100644 --- a/deluge/ui/client.py +++ b/deluge/ui/client.py @@ -318,13 +318,13 @@ class DaemonSSLProxy(DaemonProxy): is emitted from the daemon """ - if event not in self.factory.event_handlers: + if event not in self.__factory.event_handlers: # This is a new event to handle, so we need to tell the daemon # that we're interested in receiving this type of event self.event_handlers[event] = [] self.call("daemon.set_event_interest", [event]) - self.factory.event_handlers[event].append(handler) + self.__factory.event_handlers[event].append(handler) def deregister_event_handler(self, event, handler): """