mirror of https://github.com/tdwg/dwc.git
Rename template to terms
This commit is contained in:
parent
83d6e565b2
commit
20bb168603
|
@ -17,7 +17,7 @@ DWCA=Namespace("http://rs.tdwg.org/dwc/terms/attributes/")
|
||||||
def buildHtml():
|
def buildHtml():
|
||||||
data=parseTerms()
|
data=parseTerms()
|
||||||
print """building html files"""
|
print """building html files"""
|
||||||
html = Template(file="recommended.tmpl", searchList=[data])
|
html = Template(file="terms.tmpl", searchList=[data])
|
||||||
recommended = open("../terms/index.html", "w")
|
recommended = open("../terms/index.html", "w")
|
||||||
recommended.write(str(html))
|
recommended.write(str(html))
|
||||||
recommended.close()
|
recommended.close()
|
||||||
|
|
Loading…
Reference in New Issue