aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/youtube.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/youtube.py')
-rw-r--r--youtube/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/youtube.py b/youtube/youtube.py
index 4ec7962..c629bbb 100644
--- a/youtube/youtube.py
+++ b/youtube/youtube.py
@@ -61,7 +61,7 @@ def youtube(env, start_response):
start_response('200 OK', (('Content-type',mime_type),) )
return f.read()
- elif path.startswith("/data/playlist_thumbnails/"):
+ elif path.startswith('/data/playlist_thumbnails/') or path.startswith('/data/subscription_thumbnails/'):
with open(os.path.join(settings.data_dir, os.path.normpath(path[6:])), 'rb') as f:
start_response('200 OK', (('Content-type', "image/jpeg"),) )
return f.read()