Island: Fix mypy issues in ransomware_report.py

This commit is contained in:
Kekoa Kaaikala 2022-09-21 18:21:42 +00:00
parent 9c49cdafa3
commit 22b12080b6
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:
exploit_counts = {}
def _get_exploit_counts(exploited: List[MonkeyExploitation]) -> Dict[str, int]:
exploit_counts: Dict[str, int] = {}
for node in exploited:
for exploit in node.exploits: