accounts: PIL.Image.ANTIALIAS got removed, using LANCZOS for resampling now
This commit is contained in:
parent
4a23aee7d9
commit
47c3b82e1a
|
@ -336,7 +336,7 @@ class Member(User):
|
|||
self.avatar_filename)
|
||||
# Resize & convert image
|
||||
im = Image.open(avatar)
|
||||
im.thumbnail((128, 128), Image.ANTIALIAS)
|
||||
im.thumbnail((128, 128), Image.Resampling.LANCZOS)
|
||||
|
||||
# Change avatar id
|
||||
# TODO: verify concurrency behavior
|
||||
|
|
Loading…
Reference in New Issue