if got_percent:
got_percent = False
if c == 'a':
- new_format = u'%(author)s'
+ new_format = u'%(author1)s'
elif c == 'e':
new_format = u'%(extension)s'
elif c == 'f':
if compiled_format[-1] in ('\0', '\\', '/'):
raise ValueError('Bad format: "%s"' % compiled_format)
bdict = {}
- bdict['author'] = book.authors[0].fullname
+ bdict['author1'] = book.author1
bdict['extension'] = book.extension.name
bdict['file'] = book.file
genre = book.genres[0]