mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 22:43:31 +02:00
Fix #1807266 [create_from_xpath IOError: [Errno 5] Input/output error](https://bugs.launchpad.net/calibre/+bug/1807266)
This commit is contained in:
parent
320487b8df
commit
34746bbd94
1 changed files with 0 additions and 1 deletions
|
|
@ -934,7 +934,6 @@ def process_node(root, tocparent, added):
|
|||
|
||||
def create_from_xpath(self, xpaths, remove_duplicates=True):
|
||||
toc = from_xpaths(self.ebook, xpaths)
|
||||
print(1111111, remove_duplicates)
|
||||
if len(toc) == 0:
|
||||
return error_dialog(self, _('No items found'),
|
||||
_('No items were found that could be added to the Table of Contents.'), show=True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue