summaryrefslogtreecommitdiffstats
path: root/python/service.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/service.py')
-rw-r--r--python/service.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/service.py b/python/service.py
index b7504dca..18a2c81b 100644
--- a/python/service.py
+++ b/python/service.py
@@ -151,9 +151,9 @@ class Object:
"""
__metaclass__ = ObjectType
- def __init__(self, object_path, name):
+ def __init__(self, bus_name, object_path):
self._object_path = object_path
- self._name = name
+ self._name = bus_name
self._bus = name.get_bus()
self._connection = self._bus.get_connection()