1
0
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:
Ciro Mattia Gonano
2013-05-20 18:22:35 +02:00
parent 348dcc4275
commit 4dc69aa1c4

View File

@@ -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: