]> git.phdru.name Git - bookmarks_db.git/commitdiff
Fixed the path to icon.
authorOleg Broytman <phd@phdru.name>
Wed, 10 Oct 2007 14:58:48 +0000 (14:58 +0000)
committerOleg Broytman <phd@phdru.name>
Wed, 10 Oct 2007 14:58:48 +0000 (14:58 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@79 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

Robots/bkmk_rsimple.py

index af549f63969001f87e725b90df87811552512491..58879b01bc3a76f33b059dd7e7f272bd8375900e 100644 (file)
@@ -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)