diff options
Diffstat (limited to 'skype/client.py')
-rw-r--r-- | skype/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/skype/client.py b/skype/client.py index 378a4660..62686c22 100644 --- a/skype/client.py +++ b/skype/client.py @@ -1,7 +1,7 @@ -import socket +import socket, sys client = socket.socket ( socket.AF_INET, socket.SOCK_STREAM ) client.connect ( ( 'localhost', 2727 ) ) -client.send("GET USERSTATUS") +client.send(sys.argv[1]) print client.recv(1024) |