forked from p15670423/monkey
Island: Fix mypy issues in ransomware_report.py
This commit is contained in:
parent
9c49cdafa3
commit
22b12080b6
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue