diff options
-rw-r--r-- | skype/skyped.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/skype/skyped.py b/skype/skyped.py index adc3f1c8..ea72d115 100644 --- a/skype/skyped.py +++ b/skype/skyped.py @@ -72,6 +72,7 @@ def skype_idle_handler(skype): try: c = skype.skype.Command("PING", Block=True) skype.skype.SendCommand(c) + dprint("... skype pinged") except Skype4Py.SkypeAPIError, s: dprint("Warning, pinging Skype failed (%s)." % (s)) return True @@ -97,6 +98,7 @@ def bitlbee_idle_handler(skype): try: e = "PING" send(options.conn, "%s\n" % e) + dprint("... pinged Bitlbee") except Exception, s: dprint("Warning, sending '%s' failed (%s)." % (e, s)) options.conn.close() |