]> git.phdru.name Git - bookmarks_db.git/blobdiff - parse_html/bkmk_ph_beautifulsoup4.py
Fix(Py3): Remove forgotten `.decode()`/`.encode()`
[bookmarks_db.git] / parse_html / bkmk_ph_beautifulsoup4.py
index faafca22eb3ee276b70eddf161c4ae8f30a5327f..d76c05acd3da7f1bc6d09168562adfc1c05fa8c0 100644 (file)
@@ -69,8 +69,8 @@ def parse_html(html_text, charset=None, log=None):
         else:
             parts = []
             for part in title:
-                if not isinstance(part, string_type):
-                    part = part.decode()
+                #if not isinstance(part, string_type):
+                #    part = part.decode()
                 parts.append(part.strip())
             title = ''.join(parts)