mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-29 19:52:44 +01:00
Fix in keyword ordering
We're testing for a string in list, not the other way around :P
This commit is contained in:
parent
4e60008086
commit
f7b497c1b4
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class Filters(object):
|
|||
"""
|
||||
|
||||
def entities_filter(message):
|
||||
return any([entity_types in entity.type for entity in message.entities])
|
||||
return any([entity.type in entity_types for entity in message.entities])
|
||||
|
||||
return entities_filter
|
||||
|
||||
|
|
Loading…
Reference in a new issue