Skip to content

Commit

Permalink
feat(sensor): removes print statement
Browse files Browse the repository at this point in the history
Signed-off-by: GustaafL <guus@seita.nl>
  • Loading branch information
GustaafL committed Aug 1, 2023
1 parent 5d425a3 commit ddc9c78
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion flexmeasures/api/v3_0/sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,5 @@ def patch(self, sensor_data: dict, id: int, db_sensor: Sensor):
for k, v in sensor_data.items():
setattr(db_sensor, k, v)
db.session.add(db_sensor)
print(db_sensor)
db.session.commit()
return sensor_schema.dump(db_sensor), 200

0 comments on commit ddc9c78

Please sign in to comment.