Subversion Repositories SmartDukaan

Rev

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

Rev 16739 Rev 16743
Line 1311... Line 1311...
1311
                offersJsonArray.append(todict(appOfferObj)) 
1311
                offersJsonArray.append(todict(appOfferObj)) 
1312
                
1312
                
1313
        if session.is_active:
1313
        if session.is_active:
1314
            print "session is active. closing it."
1314
            print "session is active. closing it."
1315
            session.close()
1315
            session.close()
1316
        resp.body = json.dumps({"AppOffers":offersJsonArray}, encoding='utf-8')
1316
        resp.body = json.dumps({"AppOffers":offersJsonArray}, encoding='latin1' )
1317
        
1317
        
1318
class AppUserBatchRefund():
1318
class AppUserBatchRefund():
1319
    def on_get(self, req, resp, batchId, userId):
1319
    def on_get(self, req, resp, batchId, userId):
1320
        batchId = long(batchId)
1320
        batchId = long(batchId)
1321
        userId = long(userId)
1321
        userId = long(userId)