diff --git a/kindlecomicconverter/KCC_gui.py b/kindlecomicconverter/KCC_gui.py index a702563..ca714ac 100644 --- a/kindlecomicconverter/KCC_gui.py +++ b/kindlecomicconverter/KCC_gui.py @@ -795,8 +795,8 @@ class KCCGUI(KCC_ui.Ui_mainWindow): GUI.rotateBox.setChecked(False) GUI.borderBox.setEnabled(False) GUI.borderBox.setCheckState(Qt.CheckState.PartiallyChecked) - GUI.upscaleBox.setEnabled(False) - GUI.upscaleBox.setChecked(False) + # GUI.upscaleBox.setEnabled(False) + # GUI.upscaleBox.setChecked(False) GUI.croppingBox.setEnabled(False) GUI.croppingBox.setChecked(False) GUI.interPanelCropBox.setEnabled(False) @@ -813,7 +813,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow): GUI.rotateBox.setEnabled(True) GUI.borderBox.setEnabled(True) profile = GUI.profiles[str(GUI.deviceBox.currentText())] - if not profile['Label'].startswith('KS'): + if not profile['Label'].startswith('KS') or True: GUI.upscaleBox.setEnabled(True) GUI.croppingBox.setEnabled(True) GUI.interPanelCropBox.setEnabled(True) @@ -908,10 +908,10 @@ class KCCGUI(KCC_ui.Ui_mainWindow): if not GUI.webtoonBox.isChecked(): GUI.qualityBox.setEnabled(profile['PVOptions']) GUI.upscaleBox.setChecked(profile['DefaultUpscale']) - if profile['Label'].startswith('KS'): + if profile['Label'].startswith('KS') and False: GUI.upscaleBox.setDisabled(True) else: - if not GUI.webtoonBox.isChecked(): + if not GUI.webtoonBox.isChecked() or True: GUI.upscaleBox.setEnabled(True) if profile['Label'] == 'KCS': current_format = GUI.formats[str(GUI.formatBox.currentText())]['format'] diff --git a/kindlecomicconverter/comic2ebook.py b/kindlecomicconverter/comic2ebook.py index 57f30a9..63e96fb 100755 --- a/kindlecomicconverter/comic2ebook.py +++ b/kindlecomicconverter/comic2ebook.py @@ -143,7 +143,7 @@ def buildHTML(path, imgfile, imgfilepath, imgfile2=None): f.write('
.
\n') f.write(f'\n') if imgfile2: - f.write(f'\n') + f.write(f'\n') f.write("\n") if options.iskindle and options.panelview: if options.autoscale: