diff options
author | zrose584 <57181548+zrose584@users.noreply.github.com> | 2020-10-09 18:25:17 +0200 |
---|---|---|
committer | zrose584 <57181548+zrose584@users.noreply.github.com> | 2020-10-09 18:25:17 +0200 |
commit | 4f46e14ad0154a9e8749c9e0e39a4a799d549dd4 (patch) | |
tree | 8366476b77a0f9b5910466e10a2b671c5a0609d1 /youtube/util.py | |
parent | f8d9be2d5a947a2adde12d187a52b18b7218c541 (diff) | |
download | yt-local-4f46e14ad0154a9e8749c9e0e39a4a799d549dd4.tar.lz yt-local-4f46e14ad0154a9e8749c9e0e39a4a799d549dd4.tar.xz yt-local-4f46e14ad0154a9e8749c9e0e39a4a799d549dd4.zip |
fix style
Diffstat (limited to 'youtube/util.py')
-rw-r--r-- | youtube/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |