Updated colorama initialization.

This commit is contained in:
Joe Testa 2023-03-24 16:43:38 -04:00
parent 5c1c447755
commit 7d5eb37a0f

View File

@ -64,8 +64,8 @@ from ssh_audit.versionvulnerabilitydb import VersionVulnerabilityDB
# Only import colorama under Windows. Other OSes can natively handle terminal colors.
if sys.platform == 'win32':
try:
from colorama import init as colorama_init
colorama_init()
from colorama import just_fix_windows_console
just_fix_windows_console()
except ImportError:
pass