1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-23 22:27:27 +00:00

Add sorting of sets/dicts that use formatter.paginate

This commit is contained in:
Dylan Dizon 2018-11-17 13:20:17 -05:00
parent b26384dbcf
commit 5f62c91c0f

View file

@ -39,7 +39,7 @@ async def paginate(
end=''):
paginator = Paginator(prefix=prefix, suffix=suffix)
messages = []
i = copy.deepcopy(i)
i = sorted(copy.deepcopy(i))
if start:
paginator.add_line(start)