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)
|
remove_pickle_tree(capture_dir)
|
||||||
except EOFError:
|
except EOFError:
|
||||||
remove_pickle_tree(capture_dir)
|
remove_pickle_tree(capture_dir)
|
||||||
|
except Exception:
|
||||||
|
remove_pickle_tree(capture_dir)
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue