From 504436931d463cc1bd528f7d4903ef06f14a7937 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Mon, 14 Oct 2019 14:27:36 +0300 Subject: [PATCH] Fixed bug in telemetry feed --- monkey/monkey_island/cc/resources/telemetry_feed.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/resources/telemetry_feed.py b/monkey/monkey_island/cc/resources/telemetry_feed.py index 5194361af..ea757d0cf 100644 --- a/monkey/monkey_island/cc/resources/telemetry_feed.py +++ b/monkey/monkey_island/cc/resources/telemetry_feed.py @@ -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: