Skip to content

Commit a1597ed

Browse files
committed
fix bad regex in parse_dash_results
1 parent 56af329 commit a1597ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/parse_dash_results.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def parse_url(self, url):
159159

160160
images = {}
161161
for img in measurement_img:
162-
m = re.search('Rendered Image (.*?)\s', img.get('alt'))
162+
m = re.search('Rendered Image (.*?)(\s|$)', img.get('alt'))
163163
test_name = m.group(1)
164164
rendered_image = img.get('src')
165165
images[test_name] = '{}/{}'.format(dash_url, rendered_image)

0 commit comments

Comments
 (0)