mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 09:46:25 +00:00
Tweaked merge
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -225,7 +225,6 @@ def buildNCX(dstdir, title, chapters, chapterNames):
|
||||
+ ".html\"/></navPoint>\n")
|
||||
f.write("</navMap>\n</ncx>")
|
||||
f.close()
|
||||
return
|
||||
|
||||
|
||||
def buildOPF(dstdir, title, filelist, cover=None):
|
||||
@@ -304,7 +303,6 @@ def buildOPF(dstdir, title, filelist, cover=None):
|
||||
"</rootfiles>\n",
|
||||
"</container>"])
|
||||
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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user