diff --git a/deluge/core/rpcserver.py b/deluge/core/rpcserver.py index d1d36b755..587e4198b 100644 --- a/deluge/core/rpcserver.py +++ b/deluge/core/rpcserver.py @@ -88,7 +88,7 @@ class RPCServer(ThreadingMixIn, SimpleXMLRPCServer.SimpleXMLRPCServer, component for d in dir(obj): if d[0] == "_": continue - if getattr(obj, d)._rpcserver_export: + if getattr(getattr(obj, d), '_rpcserver_export', False): log.debug("Registering method: %s", name + "." + d) self.register_function(getattr(obj, d), name + "." + d)