Browse Source

Revert "GIF support for avatars"

This reverts commit 9a5bb439ec.
pull/42/merge
Rapptz 9 years ago
parent
commit
4a25011ee1
  1. 2
      discord/utils.py

2
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')

Loading…
Cancel
Save