mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-14 19:48:57 +01:00
* for keyword only arguments isn't supported on py2 it seems...
This commit is contained in:
parent
788b9dab0c
commit
2b871e6f93
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class BaseFilter(object):
|
|||
(so remember to initialize your filter classes).
|
||||
"""
|
||||
|
||||
def __init__(self, *, name=None):
|
||||
def __init__(self, *args, name=None):
|
||||
self.name = name
|
||||
|
||||
def __call__(self, message):
|
||||
|
|
Loading…
Add table
Reference in a new issue