From 5aaaa117e7a9698a3931151aa4cd0466b1f9e6cf Mon Sep 17 00:00:00 2001 From: Dan O'Reilly Date: Sat, 21 Feb 2009 13:11:55 -0500 Subject: [PATCH] Fix typo --- wicd/backends/be-ioctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wicd/backends/be-ioctl.py b/wicd/backends/be-ioctl.py index aafe454..e421ced 100644 --- a/wicd/backends/be-ioctl.py +++ b/wicd/backends/be-ioctl.py @@ -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