mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 21:02:38 +00:00
Fix formatting logic
This commit is contained in:
parent
eab73cb62b
commit
c223eb82ed
1 changed files with 2 additions and 2 deletions
|
@ -51,9 +51,9 @@ async def paginate(
|
||||||
|
|
||||||
elif type(i) is dict:
|
elif type(i) is dict:
|
||||||
if not i:
|
if not i:
|
||||||
i = {'': ' '}
|
i = {' ': ' '}
|
||||||
for k, e in sorted(i.items()):
|
for k, e in sorted(i.items()):
|
||||||
paginator.add_line(kprefix if k else '' + k + ksuffix if k else '' + eprefix + f'{ejoin}'.join(e) + esuffix)
|
paginator.add_line(kprefix + k + ksuffix + eprefix + f'{ejoin}'.join(e) + esuffix)
|
||||||
|
|
||||||
if end:
|
if end:
|
||||||
paginator.add_line(end)
|
paginator.add_line(end)
|
||||||
|
|
Loading…
Reference in a new issue