Merge branch 'fix-newer-target-time' of https://github.com/qykth-git/calibre

This commit is contained in:
Kovid Goyal
2023-10-25 08:17:46 +05:30
+1 -1
View File
@@ -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)