Skip to content

Commit

Permalink
Update changes from review
Browse files Browse the repository at this point in the history
  • Loading branch information
aguilerapy committed Nov 3, 2020
1 parent 3894a89 commit f469c4f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kingfisher_scrapy/spiders/tanzania_zabuni.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import json
from os.path import join as join_path

import scrapy

Expand Down Expand Up @@ -33,6 +32,6 @@ def parse_list(self, response):
releases = json.loads(response.text)['releases']
for release in releases:
yield self.build_request(
self.url.format(join_path(release['ocid'], response.request.meta['stage'])),
self.url.format(release['ocid'] + '/' + response.request.meta['stage']),
formatter=join(components(-1), components(-2, -1))
)

0 comments on commit f469c4f

Please sign in to comment.