From 389cb53fc213f99d0104f8c825f9de02504c42da Mon Sep 17 00:00:00 2001 From: gpotter2 <10530980+gpotter2@users.noreply.github.com> Date: Wed, 22 Nov 2023 21:54:22 +0100 Subject: [PATCH] IPython banner: restore \n --- scapy/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scapy/main.py b/scapy/main.py index b7be64352..0b33007b0 100644 --- a/scapy/main.py +++ b/scapy/main.py @@ -843,9 +843,9 @@ def interact(mydict=None, argv=None, mybanner=None, loglevel=logging.INFO): # Start IPython or ptipython if conf.interactive_shell in ["ipython", "ptipython"]: + banner += "\n" if conf.interactive_shell == "ptipython": from ptpython.ipython import embed - banner += "\n" else: from IPython import start_ipython as embed try: