diff options
Diffstat (limited to 'python/examples/list-system-services.py')
-rw-r--r-- | python/examples/list-system-services.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/list-system-services.py b/python/examples/list-system-services.py index 20b79d59..9769fc5a 100644 --- a/python/examples/list-system-services.py +++ b/python/examples/list-system-services.py @@ -3,7 +3,7 @@ import dbus # Get a connection to the SYSTEM bus -bus = dbus.Bus(dbus.Bus.TYPE_SYSTEM) +bus = dbus.SystemBus() # Get the service provided by the dbus-daemon named org.freedesktop.DBus dbus_service = bus.get_service('org.freedesktop.DBus') |