diff options
Diffstat (limited to 'python/_dbus.py')
-rw-r--r-- | python/_dbus.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/_dbus.py b/python/_dbus.py index f0c7b069..6074be16 100644 --- a/python/_dbus.py +++ b/python/_dbus.py @@ -196,8 +196,9 @@ class Interface: if member == '__call__': return object.__call__ else: - return self._obj.__getattr__(member, dbus_interface=_dbus_interface) - + ret = self._obj.__getattr__(member, dbus_interface=_dbus_interface) + return ret + def __repr__(self): return '<Interface %r implementing %r at %x>'%( self._obj, self._dbus_interface, id(self)) |