summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8ce74f8)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@305
fdd5c36f-1aea-0310-aeeb-
c58d7e2b6c23
self.log(" got icon : %s" % content_type)
if content_type.startswith("application/") \
or content_type.startswith("text/plain"):
self.log(" got icon : %s" % content_type)
if content_type.startswith("application/") \
or content_type.startswith("text/plain"):
- self.log(" got non-image icon, assume x-icon")
+ self.log(" non-image content type, assume x-icon")
content_type = 'image/x-icon'
bookmark.icon = "data:%s;base64,%s" % (content_type, b64encode(icon_data))
icons[icon] = (content_type, bookmark.icon)
content_type = 'image/x-icon'
bookmark.icon = "data:%s;base64,%s" % (content_type, b64encode(icon_data))
icons[icon] = (content_type, bookmark.icon)