From fa837a379100e6496482d5784b53aedfcfb1ff38 Mon Sep 17 00:00:00 2001 From: Michael Murtaugh Date: Thu, 9 Apr 2020 11:07:25 +0200 Subject: [PATCH] added back missing ET.tostring in rewritelinks --- dumpwiki.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dumpwiki.py b/dumpwiki.py index 771d7ef..94bf171 100644 --- a/dumpwiki.py +++ b/dumpwiki.py @@ -63,6 +63,7 @@ def rewritelinks (html): if href.startswith("/sandbox/itchwiki/index.php/"): new_href = filenameforlink(href) a.attrib['href'] = new_href + html = ET.tostring(t, method="html", encoding="unicode") return html