diff --git a/IPython/frontend/terminal/interactiveshell.py b/IPython/frontend/terminal/interactiveshell.py index 292aa5f..2e1d183 100644 --- a/IPython/frontend/terminal/interactiveshell.py +++ b/IPython/frontend/terminal/interactiveshell.py @@ -238,7 +238,10 @@ class TerminalInteractiveShell(InteractiveShell): if display_banner is None: display_banner = self.display_banner - if display_banner: + + if isinstance(display_banner, basestring): + self.show_banner(display_banner) + elif display_banner: self.show_banner() more = False