diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-06-05 00:06:35 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-06-05 00:06:35 +0200 |
commit | 9bde87941885969d46281cf03826c4bcc71b4baf (patch) | |
tree | 785f5bc132489561cb29e15a2a01caca8fd67cbf /module/lib/simplejson/encoder.py | |
parent | tidy, fix getInfo (diff) | |
download | pyload-9bde87941885969d46281cf03826c4bcc71b4baf.tar.xz |
new simplejson version
Diffstat (limited to 'module/lib/simplejson/encoder.py')
-rw-r--r-- | module/lib/simplejson/encoder.py | 2 |
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 |