mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 17:36:34 +03:00
Remove weird map chr range from aggressive iter_participants
This commit is contained in:
parent
c99157ade2
commit
b9133567af
|
@ -1,4 +1,5 @@
|
|||
import itertools
|
||||
import string
|
||||
|
||||
from .users import UserMethods
|
||||
from .. import utils
|
||||
|
@ -47,7 +48,7 @@ class _ParticipantsIter(RequestIter):
|
|||
offset=0,
|
||||
limit=200,
|
||||
hash=0
|
||||
) for x in (search or map(chr, range(ord('a'), ord('z') + 1)))]
|
||||
) for x in (search or string.ascii_lowercase)]
|
||||
else:
|
||||
self.requests = [functions.channels.GetParticipantsRequest(
|
||||
channel=entity,
|
||||
|
|
Loading…
Reference in New Issue
Block a user