forked from hkc/mastoposter
Fixed filter type guessing
This commit is contained in:
parent
7c2760783b
commit
26c23643c8
|
@ -57,5 +57,5 @@ class BaseFilter(ABC):
|
||||||
def new_instance(cls, name: str, section: SectionProxy) -> FilterInstance:
|
def new_instance(cls, name: str, section: SectionProxy) -> FilterInstance:
|
||||||
return FilterInstance(
|
return FilterInstance(
|
||||||
inverse=name[:1] in "~!",
|
inverse=name[:1] in "~!",
|
||||||
filter=cls.load_filter(name.lstrip("~!"), section),
|
filter=cls.load_filter(section["type"], section),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue