mirror of
https://github.com/ciromattia/kcc
synced 2026-07-03 19:45:26 +00:00
Add default value for saveToDir() last param
This commit is contained in:
+1
-1
@@ -119,7 +119,7 @@ class ComicPage:
|
|||||||
raise RuntimeError('Cannot read image file %s' % source)
|
raise RuntimeError('Cannot read image file %s' % source)
|
||||||
self.image = self.image.convert('RGB')
|
self.image = self.image.convert('RGB')
|
||||||
|
|
||||||
def saveToDir(self, targetdir, forcepng, color):
|
def saveToDir(self, targetdir, forcepng, color=False):
|
||||||
filename = os.path.basename(self.origFileName)
|
filename = os.path.basename(self.origFileName)
|
||||||
try:
|
try:
|
||||||
if not color:
|
if not color:
|
||||||
|
|||||||
Reference in New Issue
Block a user