diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2007-12-16 03:55:55 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2007-12-16 03:55:55 +0100 |
commit | 737e9d99ca5afe80214ccacf3d4a3737cb443188 (patch) | |
tree | 860ab4f3bf25b5e64133a1b5a1de678eb95cc453 | |
parent | 46e7de3b304e82755d1073471781806b2cfc4bcb (diff) |
remove hardwired command from client tester
-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) |