Skip to content

Commit

Permalink
Enable json:pretty format
Browse files Browse the repository at this point in the history
  • Loading branch information
hgrecco committed Jan 28, 2016
1 parent 1f8c121 commit ac8b895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serialize/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ def loads(content):
# The first (default) is compact, the second is pretty.

all.register_format('json', dumps, loads)
all.register_format('json:pretty', dumps, loads, extension=None)
all.register_format('json:pretty', dumps_pretty, loads, extension=None)

0 comments on commit ac8b895

Please sign in to comment.