Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't write non-ISBN 10 ASINs to the
isbn_10
field of a record
For books, Amazon usually returns ISBN 10s as its ASIN, but sometimes, particularly in the case of ebooks, they may be numbers starting with `B`, rather than ISBN 10s. This commit keeps the non-ISBN 10 ASIN in the `source_records: ["amazon:asin"]` line, but prevents them from entering the `isbn_10` field. It also prevents `isbn_10` and `isbn_13` from having truthy `[None]` values.
- Loading branch information