Fix RequestIter not setting TotalList.total in collect()

This commit is contained in:
Lonami Exo 2019-02-27 10:39:56 +01:00
parent 968da5f72d
commit 4f647847e7

View File

@ -106,6 +106,7 @@ class RequestIter(abc.ABC):
async for message in self: async for message in self:
result.append(message) result.append(message)
result.total = self.total
return result return result
@abc.abstractmethod @abc.abstractmethod