From 78da380d11f09dcb8c85e5db2666d20991a7c2e1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 28 Jun 2021 06:20:16 +0530 Subject: [PATCH] ... --- src/calibre/srv/content.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/calibre/srv/content.py b/src/calibre/srv/content.py index 842d161573..e816807e22 100644 --- a/src/calibre/srv/content.py +++ b/src/calibre/srv/content.py @@ -78,7 +78,6 @@ def create_file_copy(ctx, rd, prefix, library_id, book_id, ext, mtime, copy_func def safe_mtime(): with suppress(OSError): return os.path.getmtime(fname) - return 0 with lock: previous_mtime = safe_mtime()