Specified LABTHINGS_JSON_ENCODER
This commit is contained in:
parent
44ba4b272c
commit
70d3af9edb
1 changed files with 1 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ app, labthing = create_app(
|
|||
cors = CORS(app)
|
||||
|
||||
# Use custom JSON encoder
|
||||
app.config['LABTHINGS_JSON_ENCODER'] = JSONEncoder
|
||||
app.json_encoder = JSONEncoder
|
||||
|
||||
# Attach lab devices
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue