Skip to content

Commit 34cb6a7

Browse files
committed
Code style
1 parent 0541dc8 commit 34cb6a7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/labthings/server/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"Tag",
4444
"tag",
4545
"doc_response",
46-
"Semtype"
46+
"Semtype",
4747
]
4848

4949

src/labthings/server/representations.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ def output_json(data, code, headers=None):
3535
"""Makes a Flask response with a JSON encoded body, using app JSON settings"""
3636

3737
settings = current_app.config.get("LABTHINGS_JSON", {})
38-
encoder = current_app.config.get("LABTHINGS_JSON_ENCODER", {}) or LabThingsJSONEncoder
38+
encoder = (
39+
current_app.config.get("LABTHINGS_JSON_ENCODER", {}) or LabThingsJSONEncoder
40+
)
3941

4042
if current_app.debug:
4143
settings.setdefault("indent", 4)

0 commit comments

Comments
 (0)