Commit f471272
committed
Remove .webp from supported extensions in optimize_image.py
WebP files are already optimized. Accepting them as input caused
with_suffix('.webp') to resolve to the same path, overwriting the
original and making the size comparison incorrect.
Fixes review feedback on PR #106.1 parent bae3ba2 commit f471272
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments