mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +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=''):
|
end=''):
|
||||||
paginator = Paginator(prefix=prefix, suffix=suffix)
|
paginator = Paginator(prefix=prefix, suffix=suffix)
|
||||||
messages = []
|
messages = []
|
||||||
i = copy.deepcopy(i)
|
i = sorted(copy.deepcopy(i))
|
||||||
|
|
||||||
if start:
|
if start:
|
||||||
paginator.add_line(start)
|
paginator.add_line(start)
|
||||||
|
|
Loading…
Reference in a new issue