diff --git a/udevdiscover/devicefinder.py b/udevdiscover/devicefinder.py index 521858d..0e69393 100644 --- a/udevdiscover/devicefinder.py +++ b/udevdiscover/devicefinder.py @@ -57,7 +57,7 @@ def __init__(self, subsystems='', parent_tree=False): Create a new DeviceFinder and attach to the udev system to listen for events. ''' - self.__gobject_init__() + GObject.GObject.__init__(self) self.client = gudev.Client(subsystems) self.subsystems = subsystems