From 7d5eb37a0f0fd04e3807142cbd5df1526840505e Mon Sep 17 00:00:00 2001 From: Joe Testa Date: Fri, 24 Mar 2023 16:43:38 -0400 Subject: [PATCH] Updated colorama initialization. --- src/ssh_audit/ssh_audit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ssh_audit/ssh_audit.py b/src/ssh_audit/ssh_audit.py index e3bc291..d80cba1 100755 --- a/src/ssh_audit/ssh_audit.py +++ b/src/ssh_audit/ssh_audit.py @@ -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