openmedialibrary/oml/meta/utils.py
2014-05-14 11:57:11 +02:00

5 lines
96 B
Python

def normalize_isbn(value):
return ''.join([s for s in value if s.isdigit() or s == 'X'])