From 4c11178141e2c70e43b7536d011e31424b219e3b Mon Sep 17 00:00:00 2001 From: Dirk Loss Date: Mon, 20 Jul 2009 07:57:08 +0200 Subject: [PATCH] Fixed NameError for config.conf.prompt when using UTScapy --- scapy/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scapy/config.py b/scapy/config.py index 1a2727d73..b726a19a5 100644 --- a/scapy/config.py +++ b/scapy/config.py @@ -256,7 +256,7 @@ class LogLevel(object): def _prompt_changer(attr,val): - prompt = config.conf.prompt + prompt = conf.prompt try: ct = val if isinstance(ct, AnsiColorTheme) and ct.prompt(""):