mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-16 08:04:26 -04:00
better detect missing dependencies on startup
This commit is contained in:
parent
b681a477ae
commit
92de20af15
3 changed files with 28 additions and 15 deletions
|
@ -51,7 +51,7 @@ def should_save_readability(link: Link, out_dir: Optional[str]=None) -> bool:
|
|||
return False
|
||||
|
||||
output = Path(out_dir or link.link_dir) / 'readability'
|
||||
return SAVE_READABILITY and (not output.exists())
|
||||
return SAVE_READABILITY and READABILITY_VERSION and (not output.exists())
|
||||
|
||||
|
||||
@enforce_types
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue