aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/common_elements.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-07-07 17:32:11 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-07-07 17:32:11 -0700
commit728b2b73d49d9112b8874783e038d901244dd7d8 (patch)
tree4becfba716f591c07355bdef125a63f1a19a6324 /youtube/templates/common_elements.html
parentb89d90a0d35a239ee4eb476eaf5e2d3404fe65ea (diff)
downloadyt-local-728b2b73d49d9112b8874783e038d901244dd7d8.tar.lz
yt-local-728b2b73d49d9112b8874783e038d901244dd7d8.tar.xz
yt-local-728b2b73d49d9112b8874783e038d901244dd7d8.zip
common_elements.html: Accept missing channel description as blank
Diffstat (limited to 'youtube/templates/common_elements.html')
-rw-r--r--youtube/templates/common_elements.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/templates/common_elements.html b/youtube/templates/common_elements.html
index 0843c4b..a6921e1 100644
--- a/youtube/templates/common_elements.html
+++ b/youtube/templates/common_elements.html
@@ -105,7 +105,7 @@
<span>{{ info['subscriber_count'] }}</span>
<span>{{ info['size'] }}</span>
- <span class="description">{{ text_runs(info['description']) }}</span>
+ <span class="description">{{ text_runs(info.get('description', '')) }}</span>
{% else %}
Error: unsupported item type
{% endif %}