Skip to content
Snippets Groups Projects
Commit 0c1b681f authored by Phil's avatar Phil
Browse files

Moved conf.color_theme initialization to be able to overload it from scapy_startup file

parent adb84366
No related branches found
No related tags found
No related merge requests found
......@@ -252,6 +252,7 @@ def interact(mydict=None,argv=None,mybanner=None,loglevel=20):
globkeys += mydict.keys()
conf.color_theme = DefaultTheme()
if STARTUP_FILE:
_read_config_file(STARTUP_FILE)
......@@ -295,7 +296,6 @@ def interact(mydict=None,argv=None,mybanner=None,loglevel=20):
atexit.register(scapy_write_history_file,readline)
atexit.register(scapy_delete_temp_files)
conf.color_theme = DefaultTheme()
IPYTHON=False
if conf.interactive_shell.lower() == "ipython":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment