mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-15 21:05:40 +08:00
autotest: fixed html path
This commit is contained in:
1 parent
9af935f2f2
commit
e3fa7fd93d
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user