FIX on frequency form

This commit is contained in:
boyska 2016-09-15 16:28:15 +02:00
parent be002cb493
commit bef70f9fe6
No known key found for this signature in database
GPG key ID: 7395DCAE58289CA9

View file

@ -51,7 +51,7 @@ def frequencyalarm_receive(form):
'interval': form.interval.data,
}
if form.start.data:
obj['start'] = int(form.end.data.strftime('%s'))
obj['start'] = int(form.start.data.strftime('%s'))
else:
obj['start'] = 0
if form.end.data: