aboutsummaryrefslogtreecommitdiffstats
path: root/skype
diff options
context:
space:
mode:
Diffstat (limited to 'skype')
-rw-r--r--skype/skyped.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/skype/skyped.py b/skype/skyped.py
index e9f2080e..7ff26ced 100644
--- a/skype/skyped.py
+++ b/skype/skyped.py
@@ -51,7 +51,7 @@ def input_handler(fd, io_condition):
return True
def idle_handler(skype):
- skype.skype._DoCommand("PING")
+ skype.skype.SendCommand(skype.skype.Command(-1, "PING"))
try:
time.sleep(2)
except KeyboardInterrupt:
@@ -113,7 +113,7 @@ class SkypeApi():
e = msg_text.decode(locale.getdefaultlocale()[1])
dprint('>> ' + e)
try:
- self.skype._DoCommand(e)
+ self.skype.SendCommand(self.skype.Command(-1, e))
except Skype4Py.ISkypeError:
pass
except Skype4Py.errors.ISkypeAPIError, s: