8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d5b8b1 commit 127fff1Copy full SHA for 127fff1
stdnum/ec/ci.py
@@ -62,7 +62,7 @@ def validate(number):
62
raise InvalidFormat()
63
if (number[:2] < '01' or number[:2] > '24') and (number[:2] not in ('30', '50')):
64
raise InvalidComponent() # invalid province code
65
- if number[2] > '5':
+ if number[2] > '6':
66
raise InvalidComponent() # third digit wrong
67
if _checksum(number) != 0:
68
raise InvalidChecksum()
0 commit comments