From e3fa7fd93d72babb22fe61fec2eeb5505181cd16 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 10 Nov 2011 00:14:14 +1100 Subject: [PATCH] autotest: fixed html path --- Tools/autotest/autotest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/autotest/autotest.py b/Tools/autotest/autotest.py index de2870ff41..a09f4a733c 100755 --- a/Tools/autotest/autotest.py +++ b/Tools/autotest/autotest.py @@ -194,7 +194,7 @@ def write_webresults(results): sys.path.insert(0, os.path.join(util.reltopdir("../pymavlink/generator"))) import mavtemplate t = mavtemplate.MAVTemplate() - html = util.loadfile('Tools/autotest/web/index.html') + html = util.loadfile(util.reltopdir('Tools/autotest/web/index.html')) f = open(util.reltopdir("../buildlogs/index.html"), mode='w') t.write(f, html, results) f.close()