accounts: PIL.Image.ANTIALIAS got removed, using LANCZOS for resampling now
This commit is contained in:
parent
5418cc277a
commit
74ba0896cf
|
@ -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