Island: Fix mypy issues in ransomware_report.py

This commit is contained in:
Kekoa Kaaikala 2022-09-21 18:21:42 +00:00
parent c870fde3cc
commit ed5773878e
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ def get_propagation_stats() -> Dict:
} }
def _get_exploit_counts(exploited: List[MonkeyExploitation]) -> Dict: def _get_exploit_counts(exploited: List[MonkeyExploitation]) -> Dict[str, int]:
exploit_counts = {} exploit_counts: Dict[str, int] = {}
for node in exploited: for node in exploited:
for exploit in node.exploits: for exploit in node.exploits: