Merge pull request #1268 from bandb42/multiple_authors_fix

Split multiple authors on ',' instead of every character
This commit is contained in:
Justin Mayer 2014-03-30 11:40:23 -07:00
commit 16b288222d
3 changed files with 8 additions and 2 deletions

View file

@ -46,7 +46,7 @@ METADATA_PROCESSORS = {
'status': lambda x, y: x.strip(),
'category': Category,
'author': Author,
'authors': lambda x, y: [Author(author, y) for author in x],
'authors': lambda x, y: [Author(author.strip(), y) for author in x.split(',')],
}
logger = logging.getLogger(__name__)