diff options
Diffstat (limited to 'stdnum/ro/cnp.py')
-rw-r--r-- | stdnum/ro/cnp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdnum/ro/cnp.py b/stdnum/ro/cnp.py index 6aab9ef..be815a2 100644 --- a/stdnum/ro/cnp.py +++ b/stdnum/ro/cnp.py @@ -84,7 +84,7 @@ def validate(number): if len(number) != 13: raise InvalidLength() # check if birth date is valid - birth_date = get_birth_date(number) + get_birth_date(number) # TODO: check that the birth date is not in the future # number[7:9] is the county, we ignore it for now, just check last digit if calc_check_digit(number[:-1]) != number[-1]: |