Changeset d86dfb1


Ignore:
Timestamp:
2007-09-04T20:20:51Z (17 years ago)
Author:
VMiklos <vmiklos@…>
Branches:
master
Children:
54c269d
Parents:
22d97b4
Message:

hide the ping/pong from the log, it's just spam
also set the ping timeout to 2sec, it does not cause a big cpu load but this
way skyped is much more interactive

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skyped.py

    r22d97b4 rd86dfb1  
    5252
    5353def idle_handler(skype):
    54         skype.send("PING")
     54        skype.skype._DoCommand("PING")
    5555        try:
    56                 time.sleep(10)
     56                time.sleep(2)
    5757        except KeyboardInterrupt:
    5858                sys.exit("Exiting.")
     
    8989                global conn
    9090                if mode != "rece_api":
     91                        return
     92                if msg_text == "PONG":
    9193                        return
    9294                if "\n" in msg_text:
Note: See TracChangeset for help on using the changeset viewer.