1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-16 03:06:33 +00:00

Tweaked merge

This commit is contained in:
Paweł Jastrzębski
2014-05-29 22:00:57 +02:00
parent 287723ca6f
commit 56195d301d
2 changed files with 1 additions and 6 deletions

View File

@@ -380,7 +380,7 @@ class WorkerThread(QtCore.QThread):
if GUI.MangaBox.isChecked(): if GUI.MangaBox.isChecked():
options.righttoleft = True options.righttoleft = True
if GUI.RotateBox.isChecked(): if GUI.RotateBox.isChecked():
options.roate = True options.rotate = True
if GUI.QualityBox.checkState() == 1: if GUI.QualityBox.checkState() == 1:
options.quality = 1 options.quality = 1
elif GUI.QualityBox.checkState() == 2: elif GUI.QualityBox.checkState() == 2:

View File

@@ -225,7 +225,6 @@ def buildNCX(dstdir, title, chapters, chapterNames):
+ ".html\"/></navPoint>\n") + ".html\"/></navPoint>\n")
f.write("</navMap>\n</ncx>") f.write("</navMap>\n</ncx>")
f.close() f.close()
return
def buildOPF(dstdir, title, filelist, cover=None): def buildOPF(dstdir, title, filelist, cover=None):
@@ -304,7 +303,6 @@ def buildOPF(dstdir, title, filelist, cover=None):
"</rootfiles>\n", "</rootfiles>\n",
"</container>"]) "</container>"])
f.close() f.close()
return
def applyImgOptimization(img, opt, hqImage=None): def applyImgOptimization(img, opt, hqImage=None):
@@ -952,7 +950,6 @@ def makeParser():
psr.add_option_group(processingOptions) psr.add_option_group(processingOptions)
psr.add_option_group(customProfileOptions) psr.add_option_group(customProfileOptions)
psr.add_option_group(otherOptions) psr.add_option_group(otherOptions)
return psr return psr
@@ -1030,7 +1027,6 @@ def makeBook(source, qtGUI=None):
else: else:
filepath.append(getOutputFilename(source, options.output, '.cbz', '')) filepath.append(getOutputFilename(source, options.output, '.cbz', ''))
makeZIP(tome + '_comic', os.path.join(tome, "OEBPS", "Images")) makeZIP(tome + '_comic', os.path.join(tome, "OEBPS", "Images"))
else: else:
print("\nCreating EPUB structure...") print("\nCreating EPUB structure...")
genEpubStruct(tome, chapterNames) genEpubStruct(tome, chapterNames)
@@ -1046,7 +1042,6 @@ def makeBook(source, qtGUI=None):
if GUI: if GUI:
GUI.progressBarTick.emit('tick') GUI.progressBarTick.emit('tick')
return filepath return filepath