From 054e08a906c5f361f712a96c541a0530f79e3a40 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Sun, 27 Oct 2024 11:47:01 +0300 Subject: Fix typo --- src/petthecord/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/petthecord/server.py b/src/petthecord/server.py index 7ffe812..323d672 100644 --- a/src/petthecord/server.py +++ b/src/petthecord/server.py @@ -83,7 +83,7 @@ class Server(Application): Path(avatar_path).touch() with open(avatar_path, "rb") as f: - return Response(body=f.read(), content_type="image/png") + return Response(body=f.read(), content_type="image/gif") else: with BytesIO() as f: image = await user.avatar.read() @@ -91,7 +91,7 @@ class Server(Application): f.seek(0) - return Response(body=f.read(), content_type="image/png") + return Response(body=f.read(), content_type="image/gif") async def clean_cache(self) -> None: for filename in listdir(self.cache_path): -- cgit 1.4.1