REFACTORING : implement setter methods for coordinates and zoom to make easier the...
[wifihood] / wifiscanner / wifimap / replay.py
index 6bf7c86..6d1fdc9 100644 (file)
@@ -6,13 +6,12 @@ import gobject
 
 import os
 
-conf = config.Configuration()
-
 class ReplayScanner ( gobject.GObject ) :
 
     def __init__ ( self , 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