mirror of https://github.com/CIRCL/lookyloo
fix: remove broken pickles
parent
7707d638cf
commit
9470b0c738
|
@ -322,6 +322,9 @@ def load_pickle_tree(capture_dir: Path) -> Optional[CrawledTree]:
|
|||
remove_pickle_tree(capture_dir)
|
||||
except EOFError:
|
||||
remove_pickle_tree(capture_dir)
|
||||
except Exception:
|
||||
remove_pickle_tree(capture_dir)
|
||||
|
||||
return None
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue