mirror of
https://github.com/torproject/lego.git
synced 2024-11-23 09:39:44 +00:00
Fix typo
This commit is contained in:
parent
9f2aa76623
commit
1375171fb6
@ -15,7 +15,7 @@ root = etree.fromstring(content)
|
||||
items = root.findall('channel/item')
|
||||
file_object = open('../../templates/stream.html', 'w')
|
||||
for entry in items:
|
||||
title = entry.findtext('title'))
|
||||
link = entry.findtext('link'))
|
||||
title = entry.findtext('title')
|
||||
link = entry.findtext('link')
|
||||
file_object.write("<h3><a href=\"" + link +"\">" + title + "</a></h3>")
|
||||
file.close()
|
||||
|
@ -10,7 +10,7 @@ setup(
|
||||
py_modules=['lektor_xml_to_html'],
|
||||
entry_points={
|
||||
'lektor.plugins': [
|
||||
'xml-to-html = lektor_xml_to_html:XMLToHtmlPlugin',
|
||||
'xml-to-html = lektor_xml_to_html:XmlToHtmlPlugin',
|
||||
]
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user