summaryrefslogtreecommitdiffstats
path: root/module/lib/simplejson/encoder.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-05 00:06:35 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-05 00:06:35 +0200
commit9bde87941885969d46281cf03826c4bcc71b4baf (patch)
tree785f5bc132489561cb29e15a2a01caca8fd67cbf /module/lib/simplejson/encoder.py
parenttidy, fix getInfo (diff)
downloadpyload-9bde87941885969d46281cf03826c4bcc71b4baf.tar.xz
new simplejson version
Diffstat (limited to 'module/lib/simplejson/encoder.py')
-rw-r--r--module/lib/simplejson/encoder.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/lib/simplejson/encoder.py b/module/lib/simplejson/encoder.py
index 468d1bd82..f43f6f430 100644
--- a/module/lib/simplejson/encoder.py
+++ b/module/lib/simplejson/encoder.py
@@ -165,6 +165,8 @@ class JSONEncoder(object):
self.indent = indent
if separators is not None:
self.item_separator, self.key_separator = separators
+ elif indent is not None:
+ self.item_separator = ','
if default is not None:
self.default = default
self.encoding = encoding