Skip to content

Commit

Permalink
Removed unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
samJMA committed Nov 20, 2024
1 parent 6e7c15e commit 8f5acfb
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ca_qc_kirkland/people.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@

class KirklandPersonScraper(CanadianScraper):
def scrape(self):
def decode_email(e):
de = ""
k = int(e[:2], 16)

for i in range(2, len(e) - 1, 2):
de += chr(int(e[i : i + 2], 16) ^ k)

return de

page = self.lxmlize(COUNCIL_PAGE, "iso-8859-1")

councillors = page.xpath('//table/tbody[not(@id)]/tr/td[@valign="top"]')
Expand Down

0 comments on commit 8f5acfb

Please sign in to comment.