Fix jpegtran command line

Fix the non-processing of jpeg files.

Fix the error:
```
jpegtran: only one input file
```
This commit is contained in:
Axel Haustant
2013-07-08 14:14:37 +02:00
parent 5f92b3a9a8
commit 30e6a229f6

View File

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