Fix error in optimize.py on PNGs at -O2

Error was
TypeError: unsupported operand type(s) for -: 'tuple' and 'int'
This commit is contained in:
James R. Barlow
2018-08-20 15:45:34 -07:00
parent 1e23ea5364
commit 4d5c9b8cdf
+1 -1
View File
@@ -32,7 +32,7 @@ from .exec import pngquant, jbig2enc
PAGE_GROUP_SIZE = 10
DEFAULT_JPEG_QUALITY = 75
DEFAULT_PNG_QUALITY = (65, 75)
DEFAULT_PNG_QUALITY = 70
def img_name(root, xref, ext):