From c19b86bf0319fbc6b8bd541d8a10b57cb5692349 Mon Sep 17 00:00:00 2001 From: 0xMRTT <0xMRTT@proton.me> Date: Thu, 23 Feb 2023 22:40:50 +0100 Subject: [PATCH] doc: update because of #222 --- docs/index.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/index.txt b/docs/index.txt index 41ae81a..cef6e5a 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -211,7 +211,8 @@ appear on the site. Listed below are those settings: .. py:data:: AVATAR_RESIZE_METHOD The method to use when resizing images, based on the options available in - Pillow. Defaults to ``Image.ANTIALIAS``. + Pillow. Defaults to ``Image.Resampling.LANCZOS`` if the version of Pillow + is greater than 9.1.0 otherwise it's ``Image.ANTIALIASING`` .. py:data:: AVATAR_STORAGE_DIR