mirror of https://github.com/secdev/scapy.git
Fixed NameError for config.conf.prompt when using UTScapy
This commit is contained in:
parent
f693eebaa6
commit
4c11178141
|
@ -256,7 +256,7 @@ class LogLevel(object):
|
||||||
|
|
||||||
|
|
||||||
def _prompt_changer(attr,val):
|
def _prompt_changer(attr,val):
|
||||||
prompt = config.conf.prompt
|
prompt = conf.prompt
|
||||||
try:
|
try:
|
||||||
ct = val
|
ct = val
|
||||||
if isinstance(ct, AnsiColorTheme) and ct.prompt(""):
|
if isinstance(ct, AnsiColorTheme) and ct.prompt(""):
|
||||||
|
|
Loading…
Reference in New Issue