No longer enable --mtime by default (#12781)
Closes #12780 Authored by: seproDev
This commit is contained in:
parent
30fa54280b
commit
f3008bc5f8
6 changed files with 20 additions and 12 deletions
|
|
@ -302,7 +302,7 @@ class FragmentFD(FileDownloader):
|
|||
elif to_file:
|
||||
self.try_rename(ctx['tmpfilename'], ctx['filename'])
|
||||
filetime = ctx.get('fragment_filetime')
|
||||
if self.params.get('updatetime', True) and filetime:
|
||||
if self.params.get('updatetime') and filetime:
|
||||
with contextlib.suppress(Exception):
|
||||
os.utime(ctx['filename'], (time.time(), filetime))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue