added back missing ET.tostring in rewritelinks

master
Michael Murtaugh 5 years ago
parent f975fcaaff
commit fa837a3791

@ -63,6 +63,7 @@ def rewritelinks (html):
if href.startswith("/sandbox/itchwiki/index.php/"): if href.startswith("/sandbox/itchwiki/index.php/"):
new_href = filenameforlink(href) new_href = filenameforlink(href)
a.attrib['href'] = new_href a.attrib['href'] = new_href
html = ET.tostring(t, method="html", encoding="unicode")
return html return html

Loading…
Cancel
Save