arthurdejong / python-stdnum

A Python library to provide functions to handle, parse and validate standard numbers.
https://arthurdejong.org/python-stdnum/
GNU Lesser General Public License v2.1
495 stars 205 forks source link

ro: logic error correction, cf may contain RO #253

Closed dotbit1 closed 3 years ago

dotbit1 commented 3 years ago

I think there is an error in the cf.py file. I think what you meant is in the associated pull request.

Before:

from stdnum.ro import * cf.validate('RO16281620') '16281620'

After:

from stdnum.ro import * cf.validate('RO16281620') 'RO16281620'

dotbit1 commented 3 years ago

ok, need more testing.