mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-12-22 09:05:10 +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.
|
||||
if sys.platform == 'win32':
|
||||
try:
|
||||
from colorama import just_fix_windows_console
|
||||
from colorama import just_fix_windows_console # type: ignore
|
||||
just_fix_windows_console()
|
||||
except ImportError:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user