mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
25b918a931
commit
8743b06b30
@ -262,7 +262,7 @@ class Blocks(object):
|
||||
def end_current_block(self):
|
||||
if self.current_block is not None:
|
||||
self.all_blocks.append(self.current_block)
|
||||
if self.current_table is not None:
|
||||
if self.current_table is not None and self.current_table.current_row is not None:
|
||||
self.current_table.add_block(self.current_block)
|
||||
else:
|
||||
self.block_map[self.current_block] = len(self.items)
|
||||
|
Loading…
x
Reference in New Issue
Block a user