diff --git a/fanficfare/adapters/base_xenforoforum_adapter.py b/fanficfare/adapters/base_xenforoforum_adapter.py index 96826ef1..f5313f45 100644 --- a/fanficfare/adapters/base_xenforoforum_adapter.py +++ b/fanficfare/adapters/base_xenforoforum_adapter.py @@ -518,7 +518,8 @@ class BaseXenForoForumAdapter(BaseSiteAdapter): def _do_utf8FromSoup(self,url,soup,fetch=None,allow_replace_br_with_p=True): if self.getConfig('replace_broken_smilies'): - for img in soup.find_all('img',src=re.compile(r'(failedtodownload|clear.png)$')): + for img in soup.find_all('img',src=re.compile(r'(failedtoload|clear.png)$')): + logger.debug("replace_broken_smilies? %s"%img) clses = unicode(img['class']) # stringify. if img.has_attr('alt') and 'mceSmilie' in clses : ## put a span around the clear image with alt text instead?