From 1882c9d71a937d9f0659d6ed0a961662965b4805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 15 May 2020 11:39:16 +0200 Subject: [PATCH] fix: Please mypy --- lookyloo/lookyloo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lookyloo/lookyloo.py b/lookyloo/lookyloo.py index a2ef4874..152ce65e 100644 --- a/lookyloo/lookyloo.py +++ b/lookyloo/lookyloo.py @@ -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: