From bd7e1419d7f06312f8328a0d045588ca7a8fea7f Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Sun, 4 Mar 2018 08:12:02 +0000 Subject: [PATCH] Fix 'and' typo --- webapp/titanembeds/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/titanembeds/oauth.py b/webapp/titanembeds/oauth.py index 3d08334..511781a 100644 --- a/webapp/titanembeds/oauth.py +++ b/webapp/titanembeds/oauth.py @@ -97,7 +97,7 @@ def check_user_permission(guild_id, id): def generate_avatar_url(id, av, discrim="0000", allow_animate=False): if av: - if allow_animate && str(av).startswith("a_"): + if allow_animate and str(av).startswith("a_"): return avatar_base_url + str(id) + '/' + str(av) + '.gif' return avatar_base_url + str(id) + '/' + str(av) + '.png' else: