-import config
import db
import gobject
class ReplayScanner ( gobject.GObject ) :
- def __init__ ( self , ifname="wlan0" ) :
+ def __init__ ( self , conf , ifname="wlan0" ) :
gobject.GObject.__init__( self )
self.scan_timeout = 0
- conf = config.Configuration( 'scanner' )
self.db = db.database( os.path.join( conf.homedir , "wifireplay.db" ) )
# Values specific to replaying