Subversion Repositories SmartDukaan

Rev

Rev 14087 | Rev 14352 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14087 Rev 14096
Line 65... Line 65...
65
            else:
65
            else:
66
                resp.body = json.dumps({'result':'NOT_IMPLEMENTED'}, encoding='utf-8')
66
                resp.body = json.dumps({'result':'NOT_IMPLEMENTED'}, encoding='utf-8')
67
        except:
67
        except:
68
            resp.body = json.dumps({'result':'PARSE_ERROR'}, encoding='utf-8')
68
            resp.body = json.dumps({'result':'PARSE_ERROR'}, encoding='utf-8')
69
            
69
            
70
        print "Returned from track POST",resp.body
70
        print "Returned from track POST", resp.body
-
 
71
        resp.body = json.dumps({'result':'PARSE_ERROR'}, encoding='utf-8')
-
 
72
        
71
    
73
    
72
    def on_get(self, req, resp, userId):
74
    def on_get(self, req, resp, userId):
73
        try:
75
        try:
74
            storeId = req.get_param_as_int("storeId")
76
            storeId = req.get_param_as_int("storeId")
75
            result = main.getStore(storeId).getTrackingUrls(int(userId))
77
            result = main.getStore(storeId).getTrackingUrls(int(userId))