Fix crash in is_outdated if host file does not exist.
This commit is contained in:
parent
3d336fc77f
commit
af47f8b354
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ def is_outdated(src: List[Path], dst: Path) -> bool:
|
|||
return any(
|
||||
a_src.stat().st_mtime > dst_modified
|
||||
for a_src in src
|
||||
if a_src.exists()
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue