mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Update asyncio_filters.py
This commit is contained in:
parent
75baf6dd96
commit
f4c76553ed
@ -281,7 +281,7 @@ class StateFilter(AdvancedCustomFilter):
|
||||
if isinstance(text, list):
|
||||
new_text = []
|
||||
for i in text:
|
||||
if isinstance(text, State): i = i.name
|
||||
if isinstance(i, State): i = i.name
|
||||
new_text.append(i)
|
||||
text = new_text
|
||||
elif isinstance(text, State):
|
||||
|
Loading…
Reference in New Issue
Block a user