From a12c18608efbf21395662dccf2e105c6722d5652 Mon Sep 17 00:00:00 2001 From: Andrew Murray <3112309+radarhere@users.noreply.github.com> Date: Mon, 20 Dec 2021 09:39:09 +1100 Subject: [PATCH] Corrected variable name --- docs/handbook/tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/handbook/tutorial.rst b/docs/handbook/tutorial.rst index f8ee0c413..895408b79 100644 --- a/docs/handbook/tutorial.rst +++ b/docs/handbook/tutorial.rst @@ -527,7 +527,7 @@ module. paths = Path(".").glob("*.png") for path in paths: - compress_image(path, filepath.stem + ".jpg") + compress_image(path, path.stem + ".jpg") Controlling the decoder