dirImgProcess - multiprocessing

This commit is contained in:
Paweł Jastrzębski committed 2013-05-28 08:47:24 +02:00
1 parent d090d8c2e8
commit 6c468a5291
2 files changed
+49 -36

No files matched your search

+1 -1
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, sufix):
def saveToDir(self, targetdir, forcepng, color, sufix=None):
filename = os.path.basename(self.origFileName)
try:
if not color: