Okay, so not even *args followed by a kwarg is allowed on py2...

So just remove it for now. Better than doing annoying stuff with parsing a **kwargs dict in my opinion. It didn't even *really* need to be kwarg only anyways I guess...
This commit is contained in:
Jacob Bom 2017-06-19 21:46:34 +02:00
parent 01f3d88788
commit a964b7bfd0

View file

@ -53,7 +53,7 @@ class BaseFilter(object):
(so remember to initialize your filter classes).
"""
def __init__(self, *args, name=None):
def __init__(self, name=None):
self.name = name
def __call__(self, message):