Fixed NameError for config.conf.prompt when using UTScapy

This commit is contained in:
Dirk Loss 2009-07-20 07:57:08 +02:00
parent f693eebaa6
commit 4c11178141
1 changed files with 1 additions and 1 deletions

View File

@ -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(""):