config: use super() instead of named base class

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2019-08-13 12:43:41 +10:00
parent d8859d1b6a
commit 547aec3d9b
1 changed files with 1 additions and 1 deletions

View File

@ -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