Silent optipng too

This commit is contained in:
Axel Haustant
2013-07-09 21:24:30 +02:00
parent 352e8c5f5f
commit 37ddf4cfea

View File

@@ -19,7 +19,7 @@ logger = logging.getLogger(__name__)
# A list of file types with their respective commands
COMMANDS = [
('.jpg', 'jpegtran -copy none -optimize -outfile "{filename}" "{filename}"'),
('.png', 'optipng "{filename}"'),
('.png', 'optipng --quiet "{filename}"'),
]
def optimize_images(pelican):