Better text for html links in ghostrequest.py

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-07-20 14:31:22 -07:00
parent 79302de9d5
commit 2f6e6731ea

View File

@@ -363,8 +363,8 @@ class GhostRequest:
pdfs.append('PDF of results: <a href="%s">%s</a>' % (url, file))
if 'index.html' in files:
url = 'http://%s/%s/%s/%s/%s' % (
ghost_host, customer.strip('/'), testbed, target_folder, target_folder)
webpages.append('Results webpage: <a href="%s">Index of report</a><br />' % url)
ghost_host, customer.strip('/'), testbed, target_folder, 'index.html')
webpages.append('Results webpage: <a href="%s">%s</a><br />' % (url % target_folder))
scp_push.close()
self.upload_images(target_folder)
for image in self.images: