From c2c3ea30919d134d7f3e0b63271f1e49d5d3213d Mon Sep 17 00:00:00 2001 From: Luna Date: Fri, 15 Mar 2019 00:08:41 -0300 Subject: [PATCH] icons: remove double get_guild_splash handler - icons: remove print debug --- litecord/blueprints/icons.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/litecord/blueprints/icons.py b/litecord/blueprints/icons.py index c44f438..69c1126 100644 --- a/litecord/blueprints/icons.py +++ b/litecord/blueprints/icons.py @@ -53,11 +53,6 @@ async def _get_guild_icon(guild_id: int, icon_file: str): return await send_icon('guild', guild_id, icon_hash, ext=ext) -@bp.route('/splashes//.', methods=['GET']) -async def _get_guild_splash(guild_id: int, splash_hash: str, ext: str): - pass - - @bp.route('/embed/avatars/.png') async def _get_default_user_avatar(discrim: int): pass @@ -66,7 +61,6 @@ async def _get_default_user_avatar(discrim: int): @bp.route('/avatars//') async def _get_user_avatar(user_id, avatar_file): size_int = int(request.args.get('size', '1024')) - print('user request size', size_int) avatar_hash, ext = splitext_(avatar_file) return await send_icon( 'user', user_id, avatar_hash, ext=ext)