From 5fb52ad9d393b3b0b122694f87329f24dbf80b54 Mon Sep 17 00:00:00 2001 From: Brian Martin Date: Thu, 18 Jul 2024 19:23:40 -0400 Subject: [PATCH] fix box avatar import (#613) For this call, I had missed the key part.... the image data --- models/Box.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/Box.py b/models/Box.py index b640d964..dd4d79ae 100644 --- a/models/Box.py +++ b/models/Box.py @@ -357,7 +357,7 @@ def avatar(self, image_data): os.path.join("upload", f"{self.uuid}.{ext}") ext = avatar_validation(image_data) - self._avatar = save_avatar(avatar_path) + self._avatar = save_avatar(avatar_path, image_data) @property def ipv4s(self):