loader shouldn't always believe metadata

pull/43/head
eric 2017-08-15 16:51:35 -04:00
parent ca5d9e1053
commit 2a8dff4336
1 changed files with 1 additions and 1 deletions

View File

@ -879,7 +879,7 @@ class BasePandataLoader(object):
if metadata.description and len(metadata.description) > len(work.description):
#be careful about overwriting the work description
work.description = metadata.description
if metadata.creator: #always believe yaml
if metadata.creator and not edition.authors.count():
edition.authors.clear()
for key in metadata.creator.keys():
creators = metadata.creator[key]