mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-16 21:45:39 +01:00
Ignore mypy errors on colorama import.
This commit is contained in:
parent
629008e55e
commit
cb6142c609
@ -68,7 +68,7 @@ from ssh_audit.utils import Utils
|
|||||||
# 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 just_fix_windows_console
|
from colorama import just_fix_windows_console # type: ignore
|
||||||
just_fix_windows_console()
|
just_fix_windows_console()
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user