Move interface name selection into main wifiscanner program
[wifihood] / wifimap / replay.py
index 1e8b594..6bf7c86 100644 (file)
@@ -10,7 +10,7 @@ conf = config.Configuration()
 
 class ReplayScanner ( gobject.GObject ) :
 
-    def __init__ ( self ) :
+    def __init__ ( self , ifname="wlan0" ) :
         gobject.GObject.__init__( self )
         self.scan_timeout = 0
         self.db = db.database( os.path.join( conf.homedir , "wifireplay.db" ) )