Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreben committed May 9, 2024
1 parent 30c1f62 commit 53ce25c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libsys_airflow/plugins/data_exports/marc/gobi.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ def generate_list(self, marc_file) -> pathlib.Path:
isbn = stdnum.get_subfields("a")[0]

# Exclude non-10 or 13-digit numbers
if not re.search("^(?=(?:\D*\d){10}(?:(?:\D*\d){3})?$)[\d-]+$", isbn):
if not re.search(
"^(?=(?:\D*\d){10}(?:(?:\D*\d){3})?$)[\d-]+$", isbn
):
break

fields035 = record.get_fields("035")
Expand Down

0 comments on commit 53ce25c

Please sign in to comment.