mirror of https://github.com/CIRCL/lookyloo
fix: Please mypy
parent
d3971cc47c
commit
1882c9d71a
|
@ -93,7 +93,7 @@ class Lookyloo():
|
||||||
ct = self._load_pickle(capture_dir / 'tree.pickle')
|
ct = self._load_pickle(capture_dir / 'tree.pickle')
|
||||||
if not ct:
|
if not ct:
|
||||||
self.logger.warning(f'Unable to trigger the modules unless the tree ({capture_dir}) is cached.')
|
self.logger.warning(f'Unable to trigger the modules unless the tree ({capture_dir}) is cached.')
|
||||||
return
|
return {}
|
||||||
return ct.root_hartree.stats
|
return ct.root_hartree.stats
|
||||||
|
|
||||||
def trigger_modules(self, capture_dir: Path, force: bool=False) -> None:
|
def trigger_modules(self, capture_dir: Path, force: bool=False) -> None:
|
||||||
|
|
Loading…
Reference in New Issue