aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/utils.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/discord/utils.py b/discord/utils.py
index 74f36070..423ddc8a 100644
--- a/discord/utils.py
+++ b/discord/utils.py
@@ -71,7 +71,5 @@ def _get_mime_type_for_image(data):
return 'image/png'
elif data.startswith(b'\xFF\xD8') and data.endswith(b'\xFF\xD9'):
return 'image/jpeg'
- elif data.startswith(b'GIF89a') or data.startswith(b'GIF87a'):
- return 'image/gif'
else:
raise InvalidArgument('Unsupported image type given')