Made the link to warning.png a relative path rather than absolute:
Made the link to warning.png a relative path rather than absolute:

<     warning_icon = "<img src='"+os.path.join(xia2_html,"warning.png")+"'>"
---
>     # warning_icon = "<img src='"+os.path.join(xia2_html,"warning.png")+"'>"
>     warning_icon = "<img src='"+os.path.join("xia2_html", "warning.png")+"'>"

I expect that this was how it was planned in the first place...

xia2/xia2,xia2/xia2