mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-12-22 22:15:22 +01:00
Updated colorama initialization.
This commit is contained in:
parent
5c1c447755
commit
7d5eb37a0f
@ -64,8 +64,8 @@ from ssh_audit.versionvulnerabilitydb import VersionVulnerabilityDB
|
|||||||
# Only import colorama under Windows. Other OSes can natively handle terminal colors.
|
# Only import colorama under Windows. Other OSes can natively handle terminal colors.
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
try:
|
try:
|
||||||
from colorama import init as colorama_init
|
from colorama import just_fix_windows_console
|
||||||
colorama_init()
|
just_fix_windows_console()
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user