From a2e2cdcac7a6b6a231d746fb3166147363fff7a2 Mon Sep 17 00:00:00 2001 From: Tobias Mueller Date: Thu, 13 Jan 2011 17:15:20 +0100 Subject: [PATCH] Added self as tear_down_monitor argument *blush* --- pwnitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnitter.py b/pwnitter.py index 6b176f1..67d3f75 100755 --- a/pwnitter.py +++ b/pwnitter.py @@ -83,7 +83,7 @@ class Pwnitter(dbus.service.Object): return self.status - def tear_down_monitor(device='mon0'): + def tear_down_monitor(self, device='mon0'): cmd = '/sbin/ifconfig mon0 down'.split() subprocess.call(cmd) cmd = '/usr/sbin/iw dev mon0 del'.split() -- 1.7.9.5