Fixbug Round acurate

This commit is contained in:
Andros Fenollosa 2017-03-21 11:39:07 +01:00
parent 26ef41bfac
commit c70ed2bbf5
2 changed files with 3 additions and 3 deletions

View File

@ -11,13 +11,13 @@ and Python 3.
# Use
```bash
python guetzli-recursively.py [folder]
python3 guetzli-recursively.py [folder]
```
## Example
```bash
python guetzli-recursively.py img
python3 guetzli-recursively.py img
```
out

View File

@ -38,6 +38,6 @@ for dirpath, dirnames, files in walk(top_dir):
pass
# Move temp to source
rename(url_out, url)
print('Save ' + str(100 - size_acurate) + '%')
print('Save ' + str(round(100 - size_acurate, 2)) + '%')
else:
print('It is not necessary to optimize')