diff --git a/wifite.py b/wifite.py index 3fb72e8..62b431d 100755 --- a/wifite.py +++ b/wifite.py @@ -895,7 +895,7 @@ def enable_monitor_mode(self, iface): if self.RUN_CONFIG.TX_POWER > 0: print GR + ' [+]' + W + ' setting Tx power to %s%s%s...' % (G, self.RUN_CONFIG.TX_POWER, W), call(['iw', 'reg', 'set', 'BO'], stdout=OUTLOG, stderr=ERRLOG) - call(['iwconfig', iface, 'txpower', self.RUN_CONFIG.TX_POWER], stdout=OUTLOG, stderr=ERRLOG) + call(['iwconfig', iface, 'txpower', str(self.RUN_CONFIG.TX_POWER)], stdout=OUTLOG, stderr=ERRLOG) print 'done' return self.RUN_CONFIG.IFACE_TO_TAKE_DOWN