From 235373184f0295c8d8d35aedd45ad59605b8b6b0 Mon Sep 17 00:00:00 2001 From: Teddy Date: Tue, 27 Aug 2013 22:08:17 +0800 Subject: ... --- server/piztor/server.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'server') 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)) -- cgit v1.2.3-70-g09d2