]> git.phdru.name Git - bookmarks_db.git/commitdiff
Do not return an empty string - pass it to BSoupParser.
authorOleg Broytman <phd@phdru.name>
Tue, 8 Jan 2008 11:21:52 +0000 (11:21 +0000)
committerOleg Broytman <phd@phdru.name>
Tue, 8 Jan 2008 11:21:52 +0000 (11:21 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@156 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

Robots/parse_html_beautifulsoup.py

index 62ef27709a67d27a91c7a86d220e6214d7f94888..730e263423d9fd25beb943966dc226718924ce12 100644 (file)
@@ -67,7 +67,7 @@ def parse_html(filename, charset=None):
    try:
       title = head.title.string.encode(_charset)
    except AttributeError:
-      return '' # HEAD but no TITLE
+      title = '' # HEAD but no TITLE
 
    meta = head.find(_find_refresh, recursive=False)
    if meta: