This commit is contained in:
Kovid Goyal 2021-06-28 06:20:16 +05:30
parent ad36ac19c0
commit 78da380d11
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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()