From 4dc69aa1c41e4c4be67e5dc2580a6cc97a5664c6 Mon Sep 17 00:00:00 2001 From: Ciro Mattia Gonano Date: Mon, 20 May 2013 18:22:35 +0200 Subject: [PATCH] Add default value for saveToDir() last param --- kcc/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcc/image.py b/kcc/image.py index 896058a..2b2da34 100755 --- a/kcc/image.py +++ b/kcc/image.py @@ -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: