From 83852701ec3f12d6cea2814beb1040c7e1584180 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 31 Jan 2018 10:27:39 +1000 Subject: [PATCH] config: use os.path.join on the entry directly --- tuhi/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuhi/config.py b/tuhi/config.py index 7d2ec22..14fde64 100644 --- a/tuhi/config.py +++ b/tuhi/config.py @@ -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