summaryrefslogtreecommitdiff
path: root/server/piztor/prober.py
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-31 16:27:13 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-31 16:27:13 +0800
commitd8c8ba04baeed4f11003d5483890f6cafbc55fb0 (patch)
tree7b670954649ca401edd6a3ec6adf0788e1baca38 /server/piztor/prober.py
parent44048e35ec8d39e748e6658da9bb62899dd3c5d3 (diff)
ptp v2.0b std-compliant server
Diffstat (limited to 'server/piztor/prober.py')
-rw-r--r--server/piztor/prober.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/server/piztor/prober.py b/server/piztor/prober.py
index eed36f8..bb2bcd3 100644
--- a/server/piztor/prober.py
+++ b/server/piztor/prober.py
@@ -18,9 +18,10 @@ if len(argv) == 3:
token = user_auth(username, password)
-print "Client: " + username + "logged in"
+change_password(token, username, "ddd", "haha")
+#print "Client: " + username + "logged in"
#open_push_tunnel(token, username)
-for i in xrange(100):
- print "Client: " + username + " updateing"
- update_location(token, username, 123.456, 123.456)
-# sleep(5)
+#for i in xrange(100):
+# print "Client: " + username + " updateing"
+# update_location(token, username, 123.456, 123.456)
+## sleep(5)