diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py index 0ef137a..bc72681 100644 --- a/kcc/KCC_gui.py +++ b/kcc/KCC_gui.py @@ -289,7 +289,6 @@ class KindleUnpackThread(QtCore.QRunnable): open(mobiPath, 'wb').write(mobisplit.getResult()) self.signals.result.emit([True]) except Exception as err: - traceback.print_exc() self.signals.result.emit([False, format(err)]) @@ -729,7 +728,6 @@ class KCCGUI(KCC_ui.Ui_KCC): GUI.QualityBox.setChecked(False) GUI.MangaBox.setEnabled(False) GUI.MangaBox.setChecked(False) - self.addMessage('If images will be too dark after conversion: Set Gamma to 1.0.', 'info') else: if not GUI.ProcessingBox.isChecked(): GUI.NoRotateBox.setEnabled(True) diff --git a/kcc/cbxarchive.py b/kcc/cbxarchive.py index 09ce2f9..5927226 100644 --- a/kcc/cbxarchive.py +++ b/kcc/cbxarchive.py @@ -83,7 +83,6 @@ class CBxArchive: raise OSError def extract(self, targetdir): - print("\n" + targetdir + "\n") if self.compressor == 'rar': self.extractCBR(targetdir) elif self.compressor == 'zip': diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index 35df89b..ff9199d 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -414,8 +414,6 @@ def fileImgProcess(work): applyImgOptimization(img2, opt, img) img2.saveToDir(dirpath, opt.forcepng, opt.forcecolor, True) except Exception: - import traceback - traceback.print_tb(sys.exc_info()[2]) return str(sys.exc_info()[1]) @@ -1081,4 +1079,4 @@ def checkOptions(): (int(X*1.5), int(Y*1.5))) image.ProfileData.Profiles["Custom"] = newProfile options.profile = "Custom" - options.profileData = image.ProfileData.Profiles[options.profile] \ No newline at end of file + options.profileData = image.ProfileData.Profiles[options.profile] \ No newline at end of file