aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/subscriptions.py
diff options
context:
space:
mode:
authorzrose584 <57181548+zrose584@users.noreply.github.com>2020-10-09 18:25:17 +0200
committerzrose584 <57181548+zrose584@users.noreply.github.com>2020-10-09 18:25:17 +0200
commit4f46e14ad0154a9e8749c9e0e39a4a799d549dd4 (patch)
tree8366476b77a0f9b5910466e10a2b671c5a0609d1 /youtube/subscriptions.py
parentf8d9be2d5a947a2adde12d187a52b18b7218c541 (diff)
downloadyt-local-4f46e14ad0154a9e8749c9e0e39a4a799d549dd4.tar.lz
yt-local-4f46e14ad0154a9e8749c9e0e39a4a799d549dd4.tar.xz
yt-local-4f46e14ad0154a9e8749c9e0e39a4a799d549dd4.zip
fix style
Diffstat (limited to 'youtube/subscriptions.py')
-rw-r--r--youtube/subscriptions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube/subscriptions.py b/youtube/subscriptions.py
index a661f83..219a526 100644
--- a/youtube/subscriptions.py
+++ b/youtube/subscriptions.py
@@ -820,7 +820,8 @@ def get_subscriptions_page():
videos, number_of_videos_in_db = _get_videos(cursor, 60, (page - 1)*60, tag)
for video in videos:
video['thumbnail'] = util.URL_ORIGIN + '/data/subscription_thumbnails/' + video['id'] + '.jpg'
- if not settings.proxy_images: video['thumbnail'] = video['thumbnail'][1:]
+ if not settings.proxy_images:
+ video['thumbnail'] = video['thumbnail'][1:]
video['type'] = 'video'
video['item_size'] = 'small'
util.add_extra_html_info(video)