Remove func filter

This commit is contained in:
Alex RootJunior 2019-04-18 21:30:02 +03:00
parent 65a1659345
commit 7236541723
3 changed files with 2 additions and 22 deletions

View file

@ -8,7 +8,7 @@ import typing
import aiohttp
from aiohttp.helpers import sentinel
from .filters import Command, ContentTypeFilter, ExceptionsFilter, FiltersFactory, FuncFilter, HashTag, Regexp, \
from .filters import Command, ContentTypeFilter, ExceptionsFilter, FiltersFactory, HashTag, Regexp, \
RegexpCommandsFilter, StateFilter, Text
from .handler import Handler
from .middlewares import MiddlewareManager
@ -114,9 +114,6 @@ class Dispatcher(DataMixin, ContextInstanceMixin):
filters_factory.bind(ExceptionsFilter, event_handlers=[
self.errors_handlers
])
filters_factory.bind(FuncFilter, exclude_event_handlers=[
self.errors_handlers
])
def __del__(self):
self.stop_polling()