fix: Please mypy

pull/79/head
Raphaël Vinot 2020-05-15 11:39:16 +02:00
parent d3971cc47c
commit 1882c9d71a
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class Lookyloo():
ct = self._load_pickle(capture_dir / 'tree.pickle')
if not ct:
self.logger.warning(f'Unable to trigger the modules unless the tree ({capture_dir}) is cached.')
return
return {}
return ct.root_hartree.stats
def trigger_modules(self, capture_dir: Path, force: bool=False) -> None: