get object path correctly

This commit is contained in:
Dan Williams 2007-03-01 12:52:42 -05:00
parent f2af1ae219
commit dbf2c0c1a2

View File

@ -163,7 +163,7 @@ class FallbackObject(dbus.service.Object):
keywords[parent_method._dbus_sender_keyword] = message.get_sender()
if parent_method._dbus_object_path_keyword:
keywords[parent_method._dbus_object_path_keyword] = message.get_object_path()
keywords[parent_method._dbus_object_path_keyword] = message.get_path()
# call method
retval = candidate_method(self, *args, **keywords)