Skip to content

Commit

Permalink
Update admin.py
Browse files Browse the repository at this point in the history
Add identation to JSON output.
  • Loading branch information
kaklik authored Sep 16, 2023
1 parent 2f9dae0 commit d0f829a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MLABweb/handlers/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def get(self):
modules_list = list(modules)

self.set_header('Content-Type', 'application/json')
self.write(json.dumps(modules_list))
self.write(json.dumps(modules_list, indent=2)

class moduleImageUpload(BaseHandler):
'''
Expand Down

0 comments on commit d0f829a

Please sign in to comment.