diff --git a/fanficfare/adapters/base_efiction_adapter.py b/fanficfare/adapters/base_efiction_adapter.py index 6180753..7c3b95c 100644 --- a/fanficfare/adapters/base_efiction_adapter.py +++ b/fanficfare/adapters/base_efiction_adapter.py @@ -382,7 +382,7 @@ class BaseEfictionAdapter(BaseSiteAdapter): while nextEl is not None and not (\ type(nextEl) is bs.Tag \ and nextEl.name == "span" \ - and 'label' in nextEl.get('class',[]) \ # for spans without class + and 'label' in nextEl.get('class',[]) \ ): ## must string copy nextEl or nextEl will change trees if (type(nextEl) is bs.Tag):