BUGFIX : commit proper objects for release version
[wifihood] / wifiscanner / wifiscanner
index ed0adc2..7fe9bc7 100755 (executable)
@@ -9,7 +9,7 @@ except :
     hildon = False
 
 def global_start(button, scanner, config):
-    scanner.start( config.scan_period , config.store_log )
+    scanner.start( int( 1000 * config.scan_period ) , config.store_log )
     if button._id :
         button.disconnect( button._id )
     button._id = button.connect("clicked", global_stop, scanner, config)
@@ -43,14 +43,14 @@ def stop_scan(button, scanner):
     button.set_label("Start scanning")
 
 
-class scanner ( wifimap.ReplayScanner ) :
+class scanner ( wifimap.Scanner ) :
 
     def scan ( self ) :
-        wifimap.ReplayScanner.scan( self )
+        wifimap.Scanner.scan( self )
         self.report()
 
     def report ( self ) :
-        self.status.set_label( wifimap.ReplayScanner.report(self) )
+        self.status.set_label( wifimap.Scanner.report(self) )
         start, end = self.buffer.get_bounds()
         self.buffer.delete( start , end )
         for mac,rss in self.scanlist.iteritems() :