mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #3606 (LRF Reader fails to open file which opens in PRS-500 and 505)
This commit is contained in:
parent
91df0ad326
commit
7d41e55dca
@ -263,7 +263,7 @@ class TextBlock(object):
|
||||
self.create_line()
|
||||
self.current_line.valign = i.name
|
||||
open_containers.append(((self.close_valign, []),))
|
||||
elif i.name == 'Space':
|
||||
elif i.name == 'Space' and self.current_line is not None:
|
||||
self.current_line.add_space(i.attrs['xsize'])
|
||||
elif i.name == 'EmpLine':
|
||||
if i.attrs:
|
||||
|
Loading…
x
Reference in New Issue
Block a user