Commits

Jason Scheirer committed 08492ec

Conversion to SHP

  • Participants
  • Parent commits b87065c

Comments (0)

Files changed (1)

File curses_ui.py

         self.reactor.stop()
     def update(self):
         try:
+            self.stdscr.erase()
             height, width = self.stdscr.getmaxyx()
             self.stdscr.addstr(1, 1, str(datetime.datetime.now()), curses.A_BOLD)
+            s
             if self.logger.lock:
                 text = "Fix"
-                colr = curses.COLOR_GREEN
+                colr = curses.color_pair(curses.COLOR_GREEN)
             else:
                 text = "No Fix"
-                colr = curses.COLOR_RED
+                colr = curses.color_pair(curses.COLOR_RED)
             self.stdscr.addstr(1, width - (len(text)+2), text, colr)
             self.stdscr.border()
             self.stdscr.refresh()
         lat, lon = coords if coords else (None, None)
         if coords is not None:
             for network in self.netlist.networks:
-                print network['ssid'],
+                #print network['ssid'],
                 key = network['hwaddress']
                 row = (str(datetime.datetime.now()), lat, lon, 
                         network['hwaddress'], network['ssid'],