Skip to content

Commit

Permalink
Add ISBN ocaid extractor bot
Browse files Browse the repository at this point in the history
  • Loading branch information
davidscotson committed Jun 29, 2023
1 parent 7d4ebaf commit 206aeb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isbnfromiabot/isbn_ia_to_13.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def run(self) -> None:
source_records = _json.get("source_records", None)
else:
continue
regex = "ia:isbn_\d{13}"
regex = "ia:isbn_[0-9]{13}"
isbn_13 = False
for source_record in source_records:
if re.fullmatch(regex, source_record):
Expand Down

0 comments on commit 206aeb4

Please sign in to comment.