autotest: fixed html path

This commit is contained in:
Andrew Tridgell 2011-11-10 00:14:14 +11:00
parent 9af935f2f2
commit e3fa7fd93d
1 changed files with 1 additions and 1 deletions

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()