]> git.ipfire.org Git - ipfire.org.git/commit - src/backend/util.py
accounts: Don't fail if we cannot read the avatar
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 24 Jun 2023 19:31:32 +0000 (19:31 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 24 Jun 2023 19:31:32 +0000 (19:31 +0000)
commit4bb517e333ba524c8a1839394223a7c2e09e1bf0
tree936eac103bc8588d9c31f6abe92aa33b72152727
parent53b2117f542a3f5df9bdf19284d0296180496e02
accounts: Don't fail if we cannot read the avatar

PIL might not support the image type. In that case, we cannot generate a
thumbnail and return the source image.

Fixes: #13157
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/util.py