From: Achiel Colpaert Date: Mon, 27 Aug 2018 14:53:45 +0200 Subject: Fix typo in ipath in rfkill.py Missing forward slash in the ipath resulting errors when rfkill could not be found Forwarded: https://github.com/wraith-wireless/PyRIC/pull/45 --- pyric/utils/rfkill.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyric/utils/rfkill.py b/pyric/utils/rfkill.py index ce0416e..b33d687 100644 --- a/pyric/utils/rfkill.py +++ b/pyric/utils/rfkill.py @@ -61,7 +61,7 @@ RFKILL_STATE = [False,True] # Unblocked = 0, Blocked = 1 """ dpath = '/dev/rfkill' spath = '/sys/class/rfkill' -ipath = 'sys/class/ieee80211' # directory of physical indexes +ipath = '/sys/class/ieee80211' # directory of physical indexes def rfkill_list(): """