diff options
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 |