From 1e5c0fec1fde9d536d36a568cd0ea68b74b669e0 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 15 May 2018 12:23:40 -0700 Subject: [PATCH] zulip_botserver: Fix long line for ImportError. --- zulip_botserver/zulip_botserver/server.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zulip_botserver/zulip_botserver/server.py b/zulip_botserver/zulip_botserver/server.py index 6a5a334..ed716ba 100644 --- a/zulip_botserver/zulip_botserver/server.py +++ b/zulip_botserver/zulip_botserver/server.py @@ -39,8 +39,10 @@ def load_lib_modules() -> None: lib_module = import_module(module_name) bots_lib_module[bot] = lib_module except ImportError: - raise ImportError("\n Import Error: Bot \"{}\" doesn't exists. Please make sure you have set up the flaskbotrc " - "file correctly.\n".format(bot)) + raise ImportError( + "\n Import Error: Bot \"{}\" doesn't exists. Please make sure you have set up the flaskbotrc " + "file correctly.\n".format(bot) + ) def load_bot_handlers() -> Optional[BadRequest]: for bot in available_bots: