From 2f78345cf49a63a5ed5a715e6154353787979475 Mon Sep 17 00:00:00 2001 From: Jose De Freitas Date: Mon, 1 Mar 2021 09:53:43 -0500 Subject: [PATCH] Test image getter --- voter/api/api.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/voter/api/api.py b/voter/api/api.py index 67ea1dc..7d6b632 100644 --- a/voter/api/api.py +++ b/voter/api/api.py @@ -58,6 +58,7 @@ def get_channel(channel): @api_channels.route("/channels//image.svg") def img_channel(channel): """ Returns the YouTube score in a svg image. """ + if channel in channels: return f""" - + + {channels[channel]}