]> git.armaanb.net Git - lightcards.git/blobdiff - src/parse.py
Don't clean headers
[lightcards.git] / src / parse.py
index f96551600ebf628d836eeb44f1acd1b94757d52e..12c1073552082f147ef17539f23bba3d60a1aae7 100755 (executable)
@@ -28,7 +28,7 @@ def parse_html(html):
     for x in soup.find_all("tr"):
         outp.append([clean_text(y) for y in x.find_all("td")])
 
-    return (clean_list([clean_text(x) for x in soup.find_all("th")]),
+    return ([clean_text(x) for x in soup.find_all("th")],
             clean_list(outp))
 
 def main(file):