Skip to content

Commit

Permalink
fix bad regex in parse_dash_results
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Feb 27, 2018
1 parent 56af329 commit a1597ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/parse_dash_results.py
Expand Up @@ -159,7 +159,7 @@ def parse_url(self, url):

images = {}
for img in measurement_img:
m = re.search('Rendered Image (.*?)\s', img.get('alt'))
m = re.search('Rendered Image (.*?)(\s|$)', img.get('alt'))
test_name = m.group(1)
rendered_image = img.get('src')
images[test_name] = '{}/{}'.format(dash_url, rendered_image)
Expand Down

0 comments on commit a1597ed

Please sign in to comment.