From: Oleg Broytman Date: Wed, 10 Oct 2007 14:58:48 +0000 (+0000) Subject: Fixed the path to icon. X-Git-Tag: v4.5.3~297 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=a8c8b37737468dc990f12724ec21dca1404a1557;p=bookmarks_db.git Fixed the path to icon. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@79 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- diff --git a/Robots/bkmk_rsimple.py b/Robots/bkmk_rsimple.py index af549f6..58879b0 100644 --- a/Robots/bkmk_rsimple.py +++ b/Robots/bkmk_rsimple.py @@ -164,7 +164,7 @@ class robot_simple(Robot): icon = parser.icon if not icon: icon = "/favicon.ico" - icon = urljoin("%s://%s" % (url_type, url_host), icon) + icon = urljoin("%s://%s%s" % (url_type, url_host, url_path), icon) if self.log: self.log(" icon : %s" % icon) try: fname, headers = urllib.urlretrieve(icon)