config: use os.path.join on the entry directly
This commit is contained in:
parent
47f7ec104a
commit
83852701ec
|
@ -56,7 +56,7 @@ class TuhiConfig(GObject.Object):
|
|||
if not is_btaddr(entry.name):
|
||||
continue
|
||||
|
||||
path = os.path.join(ROOT_PATH, entry.name, 'settings.ini')
|
||||
path = os.path.join(entry, 'settings.ini')
|
||||
if not os.path.isfile(path):
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in New Issue