summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBarry Warsaw2016-04-09 06:48:57 -0400
committerBarry Warsaw2016-04-09 06:48:57 -0400
commit2fb155d8f8b2890a481d51857b6e71ebefbe5654 (patch)
tree0c58a40678c7a0f81983be2013b7bddb88637a97 /src
parent4b5a9d2e2530d2dbd62a59248e0ee796340ed784 (diff)
downloadmailman-2fb155d8f8b2890a481d51857b6e71ebefbe5654.tar.gz
mailman-2fb155d8f8b2890a481d51857b6e71ebefbe5654.tar.zst
mailman-2fb155d8f8b2890a481d51857b6e71ebefbe5654.zip
Diffstat (limited to 'src')
-rw-r--r--src/mailman/commands/cli_withlist.py3
1 files changed, 2 insertions, 1 deletions
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: