mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 21:26:11 +01:00
Fix #468
This commit is contained in:
parent
cb7c0609be
commit
f9adfdba83
1 changed files with 2 additions and 0 deletions
|
|
@ -1485,6 +1485,8 @@ def __init__(self, textStyle=defaultTextStyle, \
|
|||
self.textSettings[name] = value
|
||||
elif name in BlockStyle.validSettings:
|
||||
self.blockSettings[name] = value
|
||||
elif name == 'toclabel':
|
||||
self.tocLabel = value
|
||||
else:
|
||||
raise LrsError, "%s not a valid setting for TextBlock" % name
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue