mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
oops
This commit is contained in:
parent
144b3a16f5
commit
f25cc305a1
@ -61,10 +61,10 @@ def convert_txt(path, options):
|
||||
header = None
|
||||
if options.header:
|
||||
header = Paragraph()
|
||||
header.append(Italic(options.title))
|
||||
header.append(Bold(options.title))
|
||||
header.append(' by ')
|
||||
header.append(Bold(options.author))
|
||||
book = Book(title=options.title, author=options.author, \
|
||||
header.append(Italic(options.author))
|
||||
book = Book(header=header, title=options.title, author=options.author, \
|
||||
sourceencoding=options.encoding, freetext=options.freetext, \
|
||||
category=options.category)
|
||||
buffer = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user