forked from p15670423/monkey
Island: Fix mypy issues in ransomware_report.py
This commit is contained in:
parent
c870fde3cc
commit
ed5773878e
|
@ -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