mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-10 02:55:27 +02:00
Change to Pritt print Cache
This commit is contained in:
@@ -174,7 +174,8 @@ class SystemView(FlaskView):
|
||||
200:
|
||||
description: CraftBeerPi System Cache
|
||||
"""
|
||||
return json.dumps(cbpi.cache)
|
||||
return Response(response=json.dumps(cbpi.cache, sort_keys=True, indent=4), status=200, mimetype='application/json')
|
||||
|
||||
|
||||
|
||||
@cbpi.addon.core.initializer()
|
||||
|
||||
Reference in New Issue
Block a user