Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle US (?) 1-800 numbers #7

Open
peterfig opened this issue Aug 21, 2018 · 0 comments
Open

Handle US (?) 1-800 numbers #7

peterfig opened this issue Aug 21, 2018 · 0 comments

Comments

@peterfig
Copy link

phone_country(18006539867)

---------------------------------------------------------------------------
InvalidPhone                              Traceback (most recent call last)
<ipython-input-40-2373d1fa8ebf> in <module>()
----> 1 phone_country(18006539867)

/Users/peter/Virtualenvs/standard2/lib/python2.7/site-packages/phone_iso3166/country.pyc in phone_country(phone)
     17                 return m
     18     except:
---> 19         raise InvalidPhone('Invalid phone {}'.format(phone))
     20 
     21 

InvalidPhone: Invalid phone 18006539867
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant