Mercurial > templog
comparison server/ts.py @ 94:229b740a607f
use the remainder of times
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 16 Jul 2012 21:50:39 +0800 |
parents | c3eb67cd8b61 |
children | b2d0887fb306 1a88bb989afb |
comparison
equal
deleted
inserted
replaced
93:f18fd4257296 | 94:229b740a607f |
---|---|
184 while True: | 184 while True: |
185 sock = None | 185 sock = None |
186 try: | 186 try: |
187 sock = get_socket(config.BTADDR) | 187 sock = get_socket(config.BTADDR) |
188 except Exception, e: | 188 except Exception, e: |
189 logging.exception("Error connecting") | 189 #logging.exception("Error connecting") |
190 pass | 190 pass |
191 next_wake_time = 0 | 191 next_wake_time = 0 |
192 if sock: | 192 if sock: |
193 try: | 193 try: |
194 avr_wake = do_comms(sock) | 194 avr_wake = do_comms(sock) |