Skip to content

Commit

Permalink
Update formatter parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
aguilerapy committed Nov 3, 2020
1 parent f469c4f commit 921e40b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kingfisher_scrapy/spiders/tanzania_zabuni.py
Expand Up @@ -3,7 +3,7 @@
import scrapy

from kingfisher_scrapy.base_spider import SimpleSpider
from kingfisher_scrapy.util import components, handle_http_error, join
from kingfisher_scrapy.util import components, handle_http_error


class TanzaniaZabuni(SimpleSpider):
Expand Down Expand Up @@ -33,5 +33,5 @@ def parse_list(self, response):
for release in releases:
yield self.build_request(
self.url.format(release['ocid'] + '/' + response.request.meta['stage']),
formatter=join(components(-1), components(-2, -1))
formatter=components(-2)
)

0 comments on commit 921e40b

Please sign in to comment.