Skip to content

Commit 36e54c9

Browse files
committed
chore: Use consistent variable name
1 parent 44c9d68 commit 36e54c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ca_qc_dollard_des_ormeaux/people.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ def scrape(self):
2929

3030
p = Person(primary_org="legislature", name=name, district=district, role=role)
3131
p.add_source(COUNCIL_PAGE)
32-
img_path = councillor.xpath(".//@data-src")
33-
if img_path:
34-
p.image = img_path[0]
32+
image = councillor.xpath(".//@data-src")
33+
if image:
34+
p.image = image[0]
3535
p.add_contact("email", email)
3636
p.add_contact("voice", general_phone, "legislature")
3737
p.add_contact("fax", general_fax, "legislature")

0 commit comments

Comments
 (0)