diff --git a/src/utils/formatter.py b/src/utils/formatter.py index f089370..c4f8ab2 100644 --- a/src/utils/formatter.py +++ b/src/utils/formatter.py @@ -42,12 +42,11 @@ async def paginate( paginator.add_line(start) if type(i) in (tuple, list, set): - for e in sorted(i): - if e and (e not in i) and (len(i) > 1): - paginator.add_line(eprefix + f'{ejoin}'.join(e) + esuffix) + paginator.add_line(eprefix + f'{ejoin}'.join(i) + esuffix) + elif type(i) is dict: for k, e in sorted(i.items()): - if e and (k not in e) and (len(e) > 1): + if e and (k not in e) and (len(e) >= 1): paginator.add_line(kprefix + k + ksuffix + eprefix + f'{ejoin}'.join(e) + esuffix) if end: