From 0093c92a7efa609be864726bc85cb9aec2b3b7f4 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Wed, 1 Jan 2025 12:22:00 -0500 Subject: [PATCH] format and paginate return values in admin eval --- nomen/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nomen/main.py b/nomen/main.py index 626131f..03936b7 100644 --- a/nomen/main.py +++ b/nomen/main.py @@ -256,7 +256,7 @@ async def admin_eval(ctx, *, body: str): paginator.add_line(line) paginator.close_page() if ret: - for line in str(ret).split("\n"): + for line in pprint.pformat(ret).split("\n"): paginator.add_line(line) paginator.close_page()