1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-12-21 10:58:16 +00:00

Added indentation and default plugins

* setup.py:
This commit is contained in:
J. Fernando Sánchez
2015-09-29 11:14:28 +02:00
parent 7c2e0ddec7
commit b484b453e0
7 changed files with 17 additions and 13 deletions

View File

@@ -154,7 +154,7 @@ class Leaf(dict):
' type="application/ld+json"' % url)
}
del js["@context"]
return FlaskResponse(json.dumps(js),
return FlaskResponse(json.dumps(js, indent=4),
status=self.get("status", 200),
headers=headers,
mimetype="application/json")