]> git.phdru.name Git - bookmarks_db.git/blobdiff - Writers/bkmk_whtml.py
Version 5.2.4: No need to re-check error 404 via proxy
[bookmarks_db.git] / Writers / bkmk_whtml.py
index dd43b0d20b2bcd1be9b94b93b2657e9015811235..06fb9cf2049fe108cbf125dda42ae2d5b07ed262 100644 (file)
@@ -11,6 +11,7 @@ __all__ = ['writer_html']
 
 
 from bkmk_objects import Writer, BKMK_FORMAT, quote_title
+from compat import unicode
 
 
 def dump_comment(comment):
@@ -56,8 +57,8 @@ class writer_html(Writer):
             if b.keyword: self.outfile.write(' SHORTCUTURL="%s"' % b.keyword)
             if b.icon_href:
                 value = b.icon_href
-                if isinstance(value, unicode):
-                    value = value.encode('utf-8')
+                #if isinstance(value, unicode):
+                #    value = value.encode('utf-8')
                 self.outfile.write(' ICON_URI="%s"' % value)
             if b.icon: self.outfile.write(' ICON="%s"' % b.icon)
             if b.charset: self.outfile.write(' LAST_CHARSET="%s"' % b.charset)