You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.venv/lib/python3.11/site-packages/stdnum/vatin.py:77: in compact
return number[:2] + module.compact(number[2:])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
number = '191849184'
def compact(number):
"""Convert the number to the minimal representation. This strips the
number of any valid separators and removes surrounding whitespace."""
number = clean(number, '').upper().strip()
cc = number[:2]
module = _get_cc_module(cc)
if not module:
> raise InvalidComponent()
E stdnum.exceptions.InvalidComponent: One of the parts of the number are invalid or unknown.
It looks like it tries to retrieve the country code twice
The text was updated successfully, but these errors were encountered:
To reproduce:
Traceback:
It looks like it tries to retrieve the country code twice
The text was updated successfully, but these errors were encountered: