From 34746bbd9436739951dbd2b65af1c79339f23c21 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 7 Dec 2018 08:28:03 +0530 Subject: [PATCH] Fix #1807266 [create_from_xpath IOError: [Errno 5] Input/output error](https://bugs.launchpad.net/calibre/+bug/1807266) --- src/calibre/gui2/toc/main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/calibre/gui2/toc/main.py b/src/calibre/gui2/toc/main.py index 81f6e7dd49..fd986c8137 100644 --- a/src/calibre/gui2/toc/main.py +++ b/src/calibre/gui2/toc/main.py @@ -934,7 +934,6 @@ class TOCView(QWidget): # {{{ 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)