Skip to content

Commit 70f5e93

Browse files
Desmond MaguireDesmond Maguire
authored andcommitted
fixed syntax error on line 120
1 parent a142f53 commit 70f5e93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wsgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def status(deviceid):
117117
return response
118118
query-rows = deviceStatus.query.filter(deviceStatus.deviceId==deviceid)
119119
row = query-rows.first()
120-
details = {"pollutionLevel":row.pollutionLevel), "timestamp":row.timestamp, "operationalState":row.operationalState}
120+
details = {"pollutionLevel":row.pollutionLevel, "timestamp":row.timestamp, "operationalState":row.operationalState}
121121
return jsonify({"iotDeviceStatus":details})
122122

123123
@application.route("/1/iotDeviceEvent", methods=["POST"])

0 commit comments

Comments
 (0)