Changeset 9c51166 for skype/skyped.py
- Timestamp:
- 2010-12-22T19:08:41Z (14 years ago)
- Branches:
- master
- Children:
- d45adcf
- Parents:
- e530abd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skyped.py
re530abd r9c51166 284 284 while (len(in_error) == 0) and handler_ok and options.conn: 285 285 ready_to_read, ready_to_write, in_error = \ 286 select.select([options.conn], [], [], timeout) 286 select.select([options.conn], [], [options.conn], \ 287 timeout) 287 288 now = time.time() 288 handler_ok = True289 if len(ready_to_read) == 1:289 handler_ok = len(in_error) == 0 290 if (len(ready_to_read) == 1) and handler_ok: 290 291 handler_ok = input_handler(ready_to_read.pop()) 291 292 # don't ping bitlbee/skype if they already received data 293 now = time.time() # allow for the input_handler to take some time 292 294 bitlbee_ping_start_time = now 293 295 skype_ping_start_time = now 296 options.last_bitlbee_pong = now 294 297 if (now - skype_ping_period > skype_ping_start_time) and handler_ok: 295 298 handler_ok = skype_idle_handler(skype)
Note: See TracChangeset
for help on using the changeset viewer.