From 4f46e14ad0154a9e8749c9e0e39a4a799d549dd4 Mon Sep 17 00:00:00 2001 From: zrose584 <57181548+zrose584@users.noreply.github.com> Date: Fri, 9 Oct 2020 18:25:17 +0200 Subject: fix style --- youtube/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube/util.py') diff --git a/youtube/util.py b/youtube/util.py index a75a7b5..579f512 100644 --- a/youtube/util.py +++ b/youtube/util.py @@ -342,7 +342,7 @@ def video_id(url): # default, sddefault, mqdefault, hqdefault, hq720 def get_thumbnail_url(video_id): - return f"{settings.img_prefix}https://i.ytimg.com/vi/" + video_id + "/mqdefault.jpg" + return settings.img_prefix + "https://i.ytimg.com/vi/" + video_id + "/mqdefault.jpg" def seconds_to_timestamp(seconds): seconds = int(seconds) -- cgit v1.2.3