mirror of https://github.com/scrapy/scrapy.git
revert a testing less-than condition
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40435
This commit is contained in:
parent
ce172e8520
commit
874331a5b7
|
|
@ -95,7 +95,7 @@ class S3ImagesPipeline(BaseImagesPipeline):
|
|||
age_seconds = time.time() - modified_stamp
|
||||
age_days = age_seconds / 60 / 60 / 24
|
||||
|
||||
if age_days < self.image_refresh_days:
|
||||
if age_days > self.image_refresh_days:
|
||||
return # returning None force download
|
||||
|
||||
etag = response.headers['Etag'][0].strip('"')
|
||||
|
|
|
|||
Loading…
Reference in New Issue