Store scan period in seconds
[wifihood] / wifiscanner / wifiscanner
index ed0adc2..9bd86fb 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)