mirror of
https://github.com/ciromattia/kcc
synced 2025-12-30 18:11:49 +00:00
Add default value for saveToDir() last param
This commit is contained in:
@@ -119,7 +119,7 @@ class ComicPage:
|
||||
raise RuntimeError('Cannot read image file %s' % source)
|
||||
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)
|
||||
try:
|
||||
if not color:
|
||||
|
||||
Reference in New Issue
Block a user