diff --git a/ca_bc_victoria/people.py b/ca_bc_victoria/people.py index 12a70505..8e35d5d9 100644 --- a/ca_bc_victoria/people.py +++ b/ca_bc_victoria/people.py @@ -36,7 +36,6 @@ def scrape(self): '//ul[@class="menu menu--level-0"]//a[contains(., "Mayor") and not(contains(., "Council"))]/@href' )[0] page = self.lxmlize(mayor_url) - role = "Mayor" role, name = page.xpath( '//ul[@class="menu menu--level-0"]//a[contains(., "Mayor") and not(contains(., "Council"))]/text()' )[0].split(" ", 1)