From a3971960e1f2bffd42e3f81b24fa711be4731d7a Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Wed, 30 Aug 2017 00:25:25 +0000 Subject: [PATCH] Don't alter avatar urls for now --- discordbot/titanembeds/socketio/socketiointerface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discordbot/titanembeds/socketio/socketiointerface.py b/discordbot/titanembeds/socketio/socketiointerface.py index bd3b2d1..1dc3ab4 100644 --- a/discordbot/titanembeds/socketio/socketiointerface.py +++ b/discordbot/titanembeds/socketio/socketiointerface.py @@ -68,8 +68,8 @@ class SocketIOInterface: } if userobj["color"] == "000000": userobj["color"] = None - if userobj["avatar_url"][len(userobj["avatar_url"])-15:] != ".jpg": - userobj["avatar_url"] = userobj["avatar_url"][:len(userobj["avatar_url"])-14] + ".jpg" + # if userobj["avatar_url"][len(userobj["avatar_url"])-15:] != ".jpg": + # userobj["avatar_url"] = userobj["avatar_url"][:len(userobj["avatar_url"])-14] + ".jpg" if user.nick: userobj["nick"] = user.nick if user.game: