From 9351962d1767dbec4670f0d423cd840cea0b2ae5 Mon Sep 17 00:00:00 2001 From: Sketch <75850871+SketchMaster2001@users.noreply.github.com> Date: Fri, 5 Jul 2024 08:45:49 -0400 Subject: [PATCH] fix: Wrap Mii text to 20 --- url1/special/page.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/url1/special/page.py b/url1/special/page.py index c344053e..a2d2f3b8 100644 --- a/url1/special/page.py +++ b/url1/special/page.py @@ -37,7 +37,7 @@ def special_page_n(page): RepeatedElement( { "inmsgseq": i + 1, - "inmsg": "\n".join(wrap(msg, 23)), + "inmsg": "\n".join(wrap(msg, 20)), } ) ) @@ -47,7 +47,7 @@ def special_page_n(page): mii_msgs = [] for i, msg in enumerate(room_mii.mii_msg.split("\n")): mii_msgs.append( - RepeatedElement({"msgseq": i + 1, "msg": "\n".join(wrap(msg, 23))}) + RepeatedElement({"msgseq": i + 1, "msg": "\n".join(wrap(msg, 20))}) ) print(room_mii.seq)