Show More
@@ -295,7 +295,7 b' def _jsonifyobj(v):' | |||||
295 | return 'true' |
|
295 | return 'true' | |
296 | elif v is False: |
|
296 | elif v is False: | |
297 | return 'false' |
|
297 | return 'false' | |
298 | elif isinstance(v, (int, float)): |
|
298 | elif isinstance(v, (int, long, float)): | |
299 | return str(v) |
|
299 | return str(v) | |
300 | else: |
|
300 | else: | |
301 | return '"%s"' % encoding.jsonescape(v) |
|
301 | return '"%s"' % encoding.jsonescape(v) |
General Comments 0
You need to be logged in to leave comments.
Login now