X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=parse_html%2Fbkmk_ph_htmlparser.py;h=05ad6584d47ec37f67ae5883181fdc6de5328880;hb=9faa13f6f8199790cf01533e857c593520559649;hp=70cba32d9073e2aa8f15389f69f8636eb0061b6f;hpb=91ef9925aec1c098bb428d8ba778d64ef10c16cf;p=bookmarks_db.git diff --git a/parse_html/bkmk_ph_htmlparser.py b/parse_html/bkmk_ph_htmlparser.py index 70cba32..05ad658 100644 --- a/parse_html/bkmk_ph_htmlparser.py +++ b/parse_html/bkmk_ph_htmlparser.py @@ -5,7 +5,7 @@ This file is a part of Bookmarks database and Internet robot. """ __author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 1997-2017 PhiloSoft Design" +__copyright__ = "Copyright (C) 1997-2023 PhiloSoft Design" __license__ = "GNU GPL" __all__ = ['parse_html'] @@ -62,7 +62,7 @@ class HTMLParser(_HTMLParser): self.accumulator = '' def end_title(self): - if not self.title: # use only the first title + if not self.title: # use only the first title self.title = self.accumulator def do_link(self, attrs):