summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorTeddy <[email protected]>2013-08-27 22:08:17 +0800
committerTeddy <[email protected]>2013-08-27 22:08:17 +0800
commit235373184f0295c8d8d35aedd45ad59605b8b6b0 (patch)
treeacaeec8d09cc710d3f17be2e11207422e18799ae /server
parent9e18b8175194f5d7d8ac79ffb63779fa61be8267 (diff)
...
Diffstat (limited to 'server')
-rw-r--r--server/piztor/server.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/piztor/server.py b/server/piztor/server.py
index f58cd2d..08a2981 100644
--- a/server/piztor/server.py
+++ b/server/piztor/server.py
@@ -190,10 +190,10 @@ class LocationUpdateHandler(RequestHandler):
except struct.error:
raise BadReqError("Location update: Malformed request body")
-# logger.info("Trying to update location with "
-# "(token = {0}, username = {1}, lat = {2}, lng = {3})"\
-# .format(get_hex(token), username, lat, lng))
-#
+ logger.info("Trying to update location with "
+ "(token = {0}, username = {1}, lat = {2}, lng = {3})"\
+ .format(get_hex(token), username, lat, lng))
+
uauth = RequestHandler.get_uauth(token, username, self.session)
# Authentication failure
if uauth is None:
@@ -310,7 +310,7 @@ class UserInfoHandler(RequestHandler):
except struct.error:
raise BadReqError("User info request: Malformed request body")
- logger.info("Trying to request locatin with " \
+ logger.info("Trying to user info with " \
"(token = {0}, uid = {1})" \
.format(get_hex(token), uid))