Commit c8c66803 authored by Joel Collins's avatar Joel Collins
Browse files

Updated setting LabThings JSON encoder

parent 9f61935c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ app, labthing = create_app(
cors = CORS(app)

# Use custom JSON encoder
app.config['LABTHINGS_JSON_ENCODER'] = JSONEncoder
labthing.json_encoder = JSONEncoder
app.json_encoder = JSONEncoder

# Attach lab devices