Remove weird map chr range from aggressive iter_participants

This commit is contained in:
Lonami Exo 2019-02-27 12:51:09 +01:00
parent c99157ade2
commit b9133567af

View File

@ -1,4 +1,5 @@
import itertools import itertools
import string
from .users import UserMethods from .users import UserMethods
from .. import utils from .. import utils
@ -47,7 +48,7 @@ class _ParticipantsIter(RequestIter):
offset=0, offset=0,
limit=200, limit=200,
hash=0 hash=0
) for x in (search or map(chr, range(ord('a'), ord('z') + 1)))] ) for x in (search or string.ascii_lowercase)]
else: else:
self.requests = [functions.channels.GetParticipantsRequest( self.requests = [functions.channels.GetParticipantsRequest(
channel=entity, channel=entity,