FIX edit event ui

This commit is contained in:
boyska 2016-09-09 19:50:33 +02:00
parent aa799c15ef
commit a79266187e
No known key found for this signature in database
GPG key ID: 7395DCAE58289CA9

View file

@ -86,5 +86,6 @@ def change_actions(alarmid):
new_actions = []
model = current_app.larigira.monitor.source.model
ret = model.update_alarm(int(alarmid),
new_fields={'actions': map(int, new_actions)})
new_fields={'actions': [int(a) for a in
new_actions]})
return jsonify(dict(updated=alarmid, ret=ret))