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

Fix formatting logic

This commit is contained in:
Dylan Dizon 2018-11-15 19:34:48 -05:00
parent eab73cb62b
commit c223eb82ed

View file

@ -53,7 +53,7 @@ async def paginate(
if not i:
i = {' ': ' '}
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:
paginator.add_line(end)