From: Oleg Broytman Date: Fri, 28 Dec 2007 14:40:28 +0000 (+0000) Subject: Put content type in apostrophes. X-Git-Tag: v4.5.3~237 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=b563627820339ce1ca9ae30ad93046fcb9c5230b;p=bookmarks_db.git Put content type in apostrophes. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@139 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- diff --git a/Robots/bkmk_rsimple.py b/Robots/bkmk_rsimple.py index c78a38b..c3311bc 100644 --- a/Robots/bkmk_rsimple.py +++ b/Robots/bkmk_rsimple.py @@ -205,7 +205,7 @@ class robot_simple(Robot): bookmark.icon = "data:%s;base64,%s" % (content_type, b64encode(icon)) if self.log: self.log(" got icon : %s" % content_type) else: - if self.log: self.log(" no icon : bad content type %s" % content_type) + if self.log: self.log(" no icon : bad content type '%s'" % content_type) os.remove(fname) except KeyError: