1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-26 16:03:49 +00:00

fixed typo

This commit is contained in:
Pablo Hoffman 2011-07-06 01:35:21 -03:00
parent 949e11ee31
commit 7abc4b4c5a

View File

@ -51,7 +51,7 @@ class SitemapSpider(BaseSpider):
def is_gzipped(response):
ctype = response.headers.get('Content-Type', '')
return ctype in ('application/x-gzip', 'applicatoin/gzip')
return ctype in ('application/x-gzip', 'application/gzip')
def regex(x):
if isinstance(x, basestring):