From a8c8b37737468dc990f12724ec21dca1404a1557 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 10 Oct 2007 14:58:48 +0000 Subject: [PATCH] Fixed the path to icon. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@79 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Robots/bkmk_rsimple.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5