diff --git a/src/calibre/gui2/tweak_book/boss.py b/src/calibre/gui2/tweak_book/boss.py index fa6144f300..58366e6793 100644 --- a/src/calibre/gui2/tweak_book/boss.py +++ b/src/calibre/gui2/tweak_book/boss.py @@ -1065,6 +1065,8 @@ class Boss(QObject): filters=[(_('Book (%s)') % ext.upper(), [ext.lower()])], all_files=False) if not path: return + if '.' not in os.path.basename(path): + path += '.' + ext.lower() tdir = self.mkdtemp(prefix='save-copy-') container = clone_container(c, tdir) for name, ed in editors.iteritems():