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:
parent
b26384dbcf
commit
5f62c91c0f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue