config: use super() instead of named base class
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
d8859d1b6a
commit
547aec3d9b
|
@ -32,7 +32,7 @@ def is_btaddr(addr):
|
||||||
|
|
||||||
class TuhiConfig(GObject.Object):
|
class TuhiConfig(GObject.Object):
|
||||||
def __init__(self, config_dir=None):
|
def __init__(self, config_dir=None):
|
||||||
GObject.Object.__init__(self)
|
super().__init__()
|
||||||
if config_dir is None:
|
if config_dir is None:
|
||||||
config_dir = DEFAULT_CONFIG_PATH
|
config_dir = DEFAULT_CONFIG_PATH
|
||||||
self.config_dir = config_dir
|
self.config_dir = config_dir
|
||||||
|
|
Loading…
Reference in New Issue