forked from p15670423/monkey
Fixed bug in telemetry feed
This commit is contained in:
parent
68e2a83aac
commit
504436931d
|
@ -29,7 +29,8 @@ class TelemetryFeed(flask_restful.Resource):
|
|||
try:
|
||||
return \
|
||||
{
|
||||
'telemetries': [TelemetryFeed.get_displayed_telemetry(telem) for telem in telemetries if TelemetryFeed],
|
||||
'telemetries': [TelemetryFeed.get_displayed_telemetry(telem) for telem in telemetries
|
||||
if TelemetryFeed.should_show_brief(telem)],
|
||||
'timestamp': datetime.now().isoformat()
|
||||
}
|
||||
except KeyError as err:
|
||||
|
|
Loading…
Reference in New Issue