diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py index def0420..16cc616 100644 --- a/kcc/KCC_gui.py +++ b/kcc/KCC_gui.py @@ -380,7 +380,7 @@ class WorkerThread(QtCore.QThread): if GUI.MangaBox.isChecked(): options.righttoleft = True if GUI.RotateBox.isChecked(): - options.roate = True + options.rotate = True if GUI.QualityBox.checkState() == 1: options.quality = 1 elif GUI.QualityBox.checkState() == 2: diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index 7d554f6..cc6c522 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -225,7 +225,6 @@ def buildNCX(dstdir, title, chapters, chapterNames): + ".html\"/>\n") f.write("\n") f.close() - return def buildOPF(dstdir, title, filelist, cover=None): @@ -304,7 +303,6 @@ def buildOPF(dstdir, title, filelist, cover=None): "\n", ""]) f.close() - return def applyImgOptimization(img, opt, hqImage=None): @@ -952,7 +950,6 @@ def makeParser(): psr.add_option_group(processingOptions) psr.add_option_group(customProfileOptions) psr.add_option_group(otherOptions) - return psr @@ -1030,7 +1027,6 @@ def makeBook(source, qtGUI=None): else: filepath.append(getOutputFilename(source, options.output, '.cbz', '')) makeZIP(tome + '_comic', os.path.join(tome, "OEBPS", "Images")) - else: print("\nCreating EPUB structure...") genEpubStruct(tome, chapterNames) @@ -1046,7 +1042,6 @@ def makeBook(source, qtGUI=None): if GUI: GUI.progressBarTick.emit('tick') - return filepath