From: Dan Scott Date: Thu, 4 Oct 2012 19:08:02 +0000 (-0400) Subject: Ebook processing - more pythonic string coercion X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3167f68b016595fd028326a404c0c9e2edd1df6f;p=contrib%2FConifer.git Ebook processing - more pythonic string coercion Avoid the regurgitation of errors due to trying to add a string to an integer Signed-off-by: Dan Scott --- diff --git a/tools/ebooks/prep_ebook_records.py b/tools/ebooks/prep_ebook_records.py index 14de27f0f6..6908a7eccd 100644 --- a/tools/ebooks/prep_ebook_records.py +++ b/tools/ebooks/prep_ebook_records.py @@ -494,7 +494,7 @@ def process_fields(record, options, bib_id, dup_flag): # 909 if dup_flag: - dup_value = bib_id + "" + dup_value = str(bib_id) dup = pymarc.Field(tag = '909', indicators = [' ', ' '], subfields = [