1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-09 07:14:13 +01:00
This commit is contained in:
Dan O'Reilly
2009-02-21 13:11:55 -05:00
parent 9ea38a8ebc
commit 5aaaa117e7

View File

@@ -338,7 +338,7 @@ class WirelessInterface(Interface, wnettools.BaseWirelessInterface):
socket_loc = os.path.join(ctrl_iface, self.iface)
if os.path.exists(socket_loc):
try:
return wpactrl.WPACtrl(socket)
return wpactrl.WPACtrl(socket_loc)
except wpactrl.error, e:
print "Couldn't open ctrl_interface: %s" % e
return None