mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'fix-newer-target-time' of https://github.com/qykth-git/calibre
This commit is contained in:
commit
2feaa3e854
@ -47,7 +47,7 @@ def newer(targets, sources):
|
||||
if not os.path.exists(f):
|
||||
return True
|
||||
ttimes = map(lambda x: os.stat(x).st_mtime, targets)
|
||||
oldest_target = max(ttimes)
|
||||
oldest_target = min(ttimes)
|
||||
try:
|
||||
stimes = map(lambda x: os.stat(x).st_mtime, sources)
|
||||
newest_source = max(stimes)
|
||||
|
Loading…
x
Reference in New Issue
Block a user