mirror of
https://github.com/gryf/wicd.git
synced 2026-03-10 03:25:46 +01:00
Fix typo
This commit is contained in:
@@ -338,7 +338,7 @@ class WirelessInterface(Interface, wnettools.BaseWirelessInterface):
|
|||||||
socket_loc = os.path.join(ctrl_iface, self.iface)
|
socket_loc = os.path.join(ctrl_iface, self.iface)
|
||||||
if os.path.exists(socket_loc):
|
if os.path.exists(socket_loc):
|
||||||
try:
|
try:
|
||||||
return wpactrl.WPACtrl(socket)
|
return wpactrl.WPACtrl(socket_loc)
|
||||||
except wpactrl.error, e:
|
except wpactrl.error, e:
|
||||||
print "Couldn't open ctrl_interface: %s" % e
|
print "Couldn't open ctrl_interface: %s" % e
|
||||||
return None
|
return None
|
||||||
|
|||||||
Reference in New Issue
Block a user