|
@ -322,6 +322,9 @@ class FileDownloader(object): |
|
|
filetime = timeconvert(timestr) |
|
|
filetime = timeconvert(timestr) |
|
|
if filetime is None: |
|
|
if filetime is None: |
|
|
return filetime |
|
|
return filetime |
|
|
|
|
|
# Ignore obviously invalid dates |
|
|
|
|
|
if filetime == 0: |
|
|
|
|
|
return |
|
|
try: |
|
|
try: |
|
|
os.utime(filename, (time.time(), filetime)) |
|
|
os.utime(filename, (time.time(), filetime)) |
|
|
except: |
|
|
except: |
|
|