diff options
| author | Nakidai <nakidai@disroot.org> | 2024-10-27 11:47:01 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2024-10-27 11:47:01 +0300 |
| commit | 054e08a906c5f361f712a96c541a0530f79e3a40 (patch) | |
| tree | 2699eba5d92e1213500df142d59600c239e26b4d | |
| parent | 5d7b44d0f8d5ac2a00c6a1fa16a4eaba3efe3b84 (diff) | |
| download | petthecord-054e08a906c5f361f712a96c541a0530f79e3a40.tar.gz petthecord-054e08a906c5f361f712a96c541a0530f79e3a40.zip | |
Fix typo v1.3.0
| -rw-r--r-- | src/petthecord/server.py | 4 |
1 files 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): |