diff --git a/fanficfare/adapters/base_adapter.py b/fanficfare/adapters/base_adapter.py index 26c858f4..096f4508 100644 --- a/fanficfare/adapters/base_adapter.py +++ b/fanficfare/adapters/base_adapter.py @@ -600,7 +600,8 @@ class BaseSiteAdapter(Configurable): if t.name not in ('p') and t.string != None and len(t.string.strip()) == 0 : t.extract() except AttributeError, ae: - logger.error("Error parsing HTML, probably poor input HTML. %s"%ae) + if "%s"%ae != "'NoneType' object has no attribute 'next_element'": + logger.error("Error parsing HTML, probably poor input HTML. %s"%ae) retval = unicode(soup)