Fixed a string error in the webclient that could appear on some server setups. Added URL parsing to the webclient.

This commit is contained in:
Griatch 2010-12-07 21:46:26 +00:00
parent e7b3916aec
commit 7e898842b9
4 changed files with 13 additions and 8 deletions

View file

@ -43,7 +43,7 @@ class LazyEncoder(simplejson.JSONEncoder):
return force_unicode(obj)
return super(LazyEncoder, self).default(obj)
def jsonify(obj):
return simplejson.dumps(obj, ensure_ascii=False, cls=LazyEncoder)
return utils.to_str(simplejson.dumps(obj, ensure_ascii=False, cls=LazyEncoder))
#