| 1 |
From: Achiel Colpaert <[email protected]> |
| 2 |
Date: Mon, 27 Aug 2018 14:53:45 +0200 |
| 3 |
Subject: Fix typo in ipath in rfkill.py |
| 4 |
|
| 5 |
Missing forward slash in the ipath resulting errors when rfkill could |
| 6 |
not be found |
| 7 |
|
| 8 |
Forwarded: https://github.com/wraith-wireless/PyRIC/pull/45 |
| 9 |
--- |
| 10 |
pyric/utils/rfkill.py | 2 +- |
| 11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 |
|
| 13 |
diff --git a/pyric/utils/rfkill.py b/pyric/utils/rfkill.py |
| 14 |
index ce0416e..b33d687 100644 |
| 15 |
--- a/pyric/utils/rfkill.py |
| 16 |
+++ b/pyric/utils/rfkill.py |
| 17 |
@@ -61,7 +61,7 @@ RFKILL_STATE = [False,True] # Unblocked = 0, Blocked = 1 |
| 18 |
""" |
| 19 |
dpath = '/dev/rfkill' |
| 20 |
spath = '/sys/class/rfkill' |
| 21 |
-ipath = 'sys/class/ieee80211' # directory of physical indexes |
| 22 |
+ipath = '/sys/class/ieee80211' # directory of physical indexes |
| 23 |
|
| 24 |
def rfkill_list(): |
| 25 |
""" |