Commit 8e591991 authored by Nicholas J Anderson's avatar Nicholas J Anderson
Browse files

Clip off the 'Fax: ' from fax numbers

parent e961889c
......@@ -44,7 +44,7 @@ def call_standard(search, group="all", page=1):
phone = attribute.find('span', {'class': 'phone'})
current_result['phone'] = phone.text if phone else None
fax = attribute.find('span', {'class': 'fax'})
current_result['fax'] = fax.text if fax else None
current_result['fax'] = fax.text[5:] if fax else None
# comment the line below to debug
del current_result["raw"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment