From 2fb155d8f8b2890a481d51857b6e71ebefbe5654 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sat, 9 Apr 2016 06:48:57 -0400 Subject: Fix regression with default banner. Closes #225 --- src/mailman/commands/cli_withlist.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mailman/commands/cli_withlist.py') diff --git a/src/mailman/commands/cli_withlist.py b/src/mailman/commands/cli_withlist.py index 492391c7b..97e205806 100644 --- a/src/mailman/commands/cli_withlist.py +++ b/src/mailman/commands/cli_withlist.py @@ -142,7 +142,8 @@ class Withlist: abort=config.db.abort, config=config, ) - banner = config.shell.banner + '\n' + banner + banner = config.shell.banner + '\n' + ( + banner if isinstance(banner, str) else '') if as_boolean(config.shell.use_ipython): self._start_ipython(overrides, banner) else: -- cgit v1.2.3-70-g09d2