From 03e9257ed27885d39303dda9206ac283d14bf572 Mon Sep 17 00:00:00 2001 From: Malte Kuhn Date: Tue, 30 Aug 2011 23:36:15 +0200 Subject: [PATCH] Control of linebreak in help back in users hand --- jabberbot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jabberbot.py b/jabberbot.py index 73667ec..0c2ac01 100644 --- a/jabberbot.py +++ b/jabberbot.py @@ -618,7 +618,7 @@ class JabberBot(object): if name != 'help' \ and not command._jabberbot_hidden ])) - usage = '\n\n'.join([usage, self.MSG_HELP_TAIL]) + usage = '\n\n'.join(['',usage, self.MSG_HELP_TAIL]) else: description = '' if args in self.commands: @@ -629,7 +629,7 @@ class JabberBot(object): top = self.top_of_help_message() bottom = self.bottom_of_help_message() - return '\n\n'.join([top, description, usage, bottom]) + return ''.join([top, description, usage, bottom]) def idle_proc(self): """This function will be called in the main loop.""" -- 2.11.4.GIT