diff options
author | Teddy <ted.sybil@gmail.com> | 2013-08-25 20:51:39 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2013-08-25 20:51:39 +0800 |
commit | 2111f8aaac6351fb303986b39add99a012633ac2 (patch) | |
tree | 8ab6455adfd76d7ff5d40a973ea41bd8e09dd83d /server/piztor/prob.py | |
parent | 596da92743ceade7eba90d1397847f464a2efee8 (diff) |
ptp v3.0a & server timeout support
Diffstat (limited to 'server/piztor/prob.py')
-rw-r--r-- | server/piztor/prob.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/piztor/prob.py b/server/piztor/prob.py index 1f9bdb7..4ccc957 100644 --- a/server/piztor/prob.py +++ b/server/piztor/prob.py @@ -45,6 +45,11 @@ def send(data): sock.close() return received +from sys import argv + +if len(argv) == 2: + host = argv[1] + username = "hello" password = "world" gid = 1 |