From a33c86db908024861a4326134ba5481c784f6a0a Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Mon, 25 Sep 2017 23:55:44 +0200 Subject: [PATCH] parse_dash_results: Better info messages --- scripts/parse_dash_results.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/parse_dash_results.py b/scripts/parse_dash_results.py index 743d7b2c7c1..71f3cbdc9fa 100755 --- a/scripts/parse_dash_results.py +++ b/scripts/parse_dash_results.py @@ -162,7 +162,10 @@ class ResultHandler(QDialog): rendered_image = img.get('src') images[test_name] = '{}/{}'.format(dash_url, rendered_image) - print('found images:\n{}'.format(images)) + if images: + print('found images:\n{}'.format(images)) + else: + print('no images found\n') self.images = images self.load_next()