Fix in keyword ordering

We're testing for a string in list, not the other way around :P
This commit is contained in:
Jacob Bom 2016-09-13 20:45:42 +02:00
parent 4e60008086
commit f7b497c1b4

View file

@ -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