Forgot a rename
[gregoa/zavai.git] / zavai / gps.py
index 1c5930ef0e8ee7b4b7defd08bcdff15b307eb7f2..33c9e117e31d44818ae55afdb37ec3df555b0a57 100755 (executable)
 #import sys
 #import os
 import os.path
-#import time
-#import struct
+import time
 #import signal
 #import optparse
-#import dbus
-#import dbus.mainloop.glib
+import dbus
 #import gobject
 import zavai
 
@@ -69,7 +67,7 @@ class GPSMonitor():
         self.debug_update()
 
     def on_satellites_changed(self, satellites):
-        self.gps_debug.request()
+        self.debug_request()
 
     def on_ubxdebug_packet(self, clid, length, data):
         for c in self.callbacks: