got_percent = False
if c == 'a':
new_format = u'%(author1)s'
+ elif c == 'A':
+ new_format = u'%(authors)s'
elif c == 'e':
new_format = u'%(extension)s'
elif c == 'f':
raise ValueError('Bad format: "%s"' % compiled_format)
bdict = {}
bdict['author1'] = book.author1
+ bdict['authors'] = book.author_list
bdict['extension'] = book.extension.name
bdict['file'] = book.file
genre = book.genres[0]