a proposed fix for when edition.publisher_name is None

pull/1/head
Raymond Yee 2014-10-25 17:43:15 -07:00
parent bd2641e26a
commit 98b5af63cc
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ def makemarc(marcfile, edition):
tag='260',
indicators = [' ', ' '],
subfields = [
'b', edition.publisher_name.name,
'b', edition.publisher_name.name if edition.publisher_name is not None else "",
'c', unicode(edition.publication_date),
]
)