import dominate
from dominate import tags as tags
doc = dominate.document(title="Monitormaneto Data Center EOSP")
with doc:
tags.meta(<meta http-equiv="refresh" content="30; URL="domain.url")
tags.style("body{font-family:Helvetica}")
...
答案 0 :(得分:0)
考虑修改代码中传递给tags.meta()
的参数:
import dominate
from dominate import tags as tags
doc = dominate.document(title="Monitormaneto Data Center EOSP")
with doc:
# tags.meta(<meta http-equiv="refresh" content="30; URL="domain.url")
tags.meta(http_equiv="refresh", content="30; URL=domain.url")
tags.style("body{font-family:Helvetica}")