From d152dbc5de2b4a3618821efb7716cd03b48df326 Mon Sep 17 00:00:00 2001 From: DarkSir23 Date: Mon, 20 May 2019 10:50:37 -0400 Subject: [PATCH] Cleaned up extra debugging lines. --- evennia/utils/evmenu.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/evennia/utils/evmenu.py b/evennia/utils/evmenu.py index 16a1973fc4..cb1e90be6a 100644 --- a/evennia/utils/evmenu.py +++ b/evennia/utils/evmenu.py @@ -1052,14 +1052,12 @@ class EvMenu(object): if self._session: screen_width = self._session.protocol_flags.get( "SCREENWIDTH", {0: _MAX_TEXT_WIDTH})[0] - logger.log_msg("Flags: %s" % str(self._session.protocol_flags)) else: screen_width = _MAX_TEXT_WIDTH nodetext_width_max = max(m_len(line) for line in nodetext.split("\n")) options_width_max = max(m_len(line) for line in optionstext.split("\n")) total_width = min(screen_width, max(options_width_max, nodetext_width_max)) - logger.log_msg("Total Width: %d\nOptions Width Max: %d\nNodeText Width Max: %d" % (total_width, options_width_max, nodetext_width_max)) separator1 = "_" * total_width + "\n\n" if nodetext_width_max else "" separator2 = "\n" + "_" * total_width + "\n\n" if total_width else "" return separator1 + "|n" + nodetext + "|n" + separator2 + "|n" + optionstext