diff --git a/README.md b/README.md index acdd68a..eee3a3e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/guetzli-recursively.py b/guetzli-recursively.py index 18fbe87..c196582 100644 --- a/guetzli-recursively.py +++ b/guetzli-recursively.py @@ -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')