def last_modified(response):
lm = 0
- if response.status_code == '200' and response.headers.get('last-modified'):
+ if response.status_code == 200 and response.headers.get('last-modified'):
lm = calendar.timegm(parsedate(response.headers['last-modified']))
return lm