diff --git a/src/calibre/devices/idevice/libimobiledevice.py b/src/calibre/devices/idevice/libimobiledevice.py index 213d7f9699..c1cf444194 100644 --- a/src/calibre/devices/idevice/libimobiledevice.py +++ b/src/calibre/devices/idevice/libimobiledevice.py @@ -274,7 +274,7 @@ class libiMobileDevice(): dst.write(data) bytes_remaining = 0 else: - self._log("copying %d {:,} bytes".format(file_size)) + self._log("copying {:,} bytes".format(file_size)) data = self._afc_file_read(handle, file_size, mode) dst.write(data) diff --git a/src/calibre/gui2/catalog/catalog_epub_mobi.py b/src/calibre/gui2/catalog/catalog_epub_mobi.py index 3f938d523e..53d1b266f1 100644 --- a/src/calibre/gui2/catalog/catalog_epub_mobi.py +++ b/src/calibre/gui2/catalog/catalog_epub_mobi.py @@ -287,7 +287,7 @@ class PluginWidget(QWidget,Ui_Form): if child.objectName() == 'format': current_format = str(child.currentText()).strip() elif child.objectName() == 'title': - current_title = str(child.text()).strip() + current_title = unicode(child.text()).strip() self.parentWidget().blockSignals(False) return current_format, current_title