config: use os.path.join on the entry directly

pull/53/merge
Peter Hutterer 2018-01-31 10:27:39 +10:00 committed by Benjamin Tissoires
parent 47f7ec104a
commit 83852701ec
1 changed files with 1 additions and 1 deletions

View File

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