mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 06:05:20 +01:00
...
This commit is contained in:
parent
02ff66a065
commit
35a95b1d32
1 changed files with 2 additions and 0 deletions
|
|
@ -174,6 +174,8 @@ def import_book(self, path=None):
|
|||
if hasattr(path, 'rstrip'):
|
||||
d.set_src(os.path.abspath(path))
|
||||
if d.exec_() == d.Accepted:
|
||||
for name in tuple(editors):
|
||||
self.close_editor(name)
|
||||
from calibre.ebooks.oeb.polish.import_book import import_book_as_epub
|
||||
src, dest = d.data
|
||||
self._clear_notify_data = True
|
||||
|
|
|
|||
Loading…
Reference in a new issue