]> git.phdru.name Git - bookmarks_db.git/blobdiff - parse_html/bkmk_ph_etreetidy.py
Cleanup code: use 4 spaces
[bookmarks_db.git] / parse_html / bkmk_ph_etreetidy.py
index fc596b18712b460085603e09fcf3ca9a381837ff..09aa2a3773642cf08df73e100206d782602e8685 100644 (file)
@@ -5,7 +5,7 @@ This file is a part of Bookmarks database and Internet robot.
 """
 
 __author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2010-2014 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2010-2017 PhiloSoft Design"
 __license__ = "GNU GPL"
 
 __all__ = ['parse_html']
@@ -43,8 +43,8 @@ def parse_html(html_text, charset=None, log=None):
                 except IndexError:
                     meta_charset = False
         elif m.get('charset', ''):
-           meta_charset = m.get('charset').lower()
-           break
+            meta_charset = m.get('charset').lower()
+            break
     else:
         meta_charset = False