Skip to content

Commit

Permalink
#239: merge to master
Browse files Browse the repository at this point in the history
  • Loading branch information
dimonji committed Feb 28, 2012
1 parent 69e6057 commit cc061f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion http.py
Expand Up @@ -9,6 +9,8 @@
import webob
import json
import logging
import utils
#from utils.datahandler

try:
from config import ENCODING
Expand Down Expand Up @@ -121,7 +123,7 @@ def __init__(self, response_dict):
for cookie in unset_cookies_dict:
self.delete_cookie(cookie)
response_dict.pop(UNSET_COOKIES)
self.body = json.dumps(response_dict)
self.body = json.dumps(response_dict, default=utils.datahandler)


# Specify decorator for ajax response controller functions
Expand Down

0 comments on commit cc061f6

Please sign in to comment.