config: use super() instead of named base class

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
pull/158/head
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):
def __init__(self, config_dir=None):
GObject.Object.__init__(self)
super().__init__()
if config_dir is None:
config_dir = DEFAULT_CONFIG_PATH
self.config_dir = config_dir