From 3167f68b016595fd028326a404c0c9e2edd1df6f Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Thu, 4 Oct 2012 15:08:02 -0400 Subject: [PATCH] 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 --- tools/ebooks/prep_ebook_records.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [ -- 2.11.0