diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-01-14 13:49:43 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-01-14 17:19:04 +0100 |
commit | 905711f0a1ee3a656af350917783d6472b3c2aab (patch) | |
tree | 12f73e3406e5a0e81b573cec50cc078783a1e095 /src/qt | |
parent | 42f6a0c2b946af2cce86b721b349d35c4e21ce88 (diff) |
contrib: improve optimize-pngs.py
- Check that image contents match pre- and post- crushing.
- Also remove use of external tool to compute sha256 in favor of hashlib.
- contrib: remove all use of shell=True in strip_pngs.py
Using `shell=True` can be a security hazard. See e.g.
https://docs.python.org/2/library/subprocess.html#subprocess.check_output
Diffstat (limited to 'src/qt')
0 files changed, 0 insertions, 0 deletions