autotest: fixed html path

This commit is contained in:
Andrew Tridgell committed 2011-11-10 00:14:14 +11:00
1 parent 9af935f2f2
commit e3fa7fd93d
1 file changed
+1 -1
+1 -1
View File
@@ -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()