From 0715d1f46cc5375f800039acbdf502eef758243a Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 21 Feb 2024 15:07:03 -0800 Subject: [PATCH] zulip_botserver: Turn off Flask debug mode. Signed-off-by: Anders Kaseorg --- zulip_botserver/zulip_botserver/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zulip_botserver/zulip_botserver/server.py b/zulip_botserver/zulip_botserver/server.py index 1c61f39ec..4f4195e39 100755 --- a/zulip_botserver/zulip_botserver/server.py +++ b/zulip_botserver/zulip_botserver/server.py @@ -254,7 +254,7 @@ def main() -> None: app.config["BOTS_LIB_MODULES"] = bots_lib_modules app.config["BOT_HANDLERS"] = bot_handlers app.config["MESSAGE_HANDLERS"] = message_handlers - app.run(host=options.hostname, port=int(options.port), debug=True) + app.run(host=options.hostname, port=int(options.port)) if __name__ == "__main__":