mirror of
https://github.com/gryf/wicd.git
synced 2025-12-28 17:32:36 +01:00
Fix crash on accessing preferences.
This commit is contained in:
@@ -167,7 +167,7 @@ def GetWpaSupplicantDrivers():
|
||||
patt = re.compile("(\S+)\s+=.*")
|
||||
drivers = patt.findall(output) or [""]
|
||||
# We cannot use the "wired" driver for wireless interfaces.
|
||||
if 'wired' in rval:
|
||||
if 'wired' in drivers:
|
||||
drivers.remove('wired')
|
||||
return drivers
|
||||
def IsValidWpaSuppDriver(driver):
|
||||
|
||||
Reference in New Issue
Block a user