mirror of
https://github.com/shadoll/scatcher.git
synced 2025-12-20 03:26:59 +00:00
Update JSON dump indentation to 4 spaces
This commit is contained in:
2
app.py
2
app.py
@@ -59,7 +59,7 @@ def store_last_request(request_data, namespace="requests"):
|
|||||||
data.pop(0)
|
data.pop(0)
|
||||||
|
|
||||||
with open(filename, "w") as f:
|
with open(filename, "w") as f:
|
||||||
json.dump(data, f)
|
json.dump(data, f, indent=4)
|
||||||
|
|
||||||
|
|
||||||
@app.get("/", status_code=status.HTTP_200_OK)
|
@app.get("/", status_code=status.HTTP_200_OK)
|
||||||
|
|||||||
Reference in New Issue
Block a user