diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-07-04 18:20:51 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-07-04 18:20:51 -0700 |
commit | 315039bebd8d47820e3c0baeb7ac258db6741582 (patch) | |
tree | d3c12613e138c63cd94d69f63b6709bbd61d7b5c /youtube | |
parent | d105d4520ff0bf529cfb18c9c16a22900ab7f481 (diff) | |
download | yt-local-315039bebd8d47820e3c0baeb7ac258db6741582.tar.lz yt-local-315039bebd8d47820e3c0baeb7ac258db6741582.tar.xz yt-local-315039bebd8d47820e3c0baeb7ac258db6741582.zip |
common_elements.html: accept missing description as blank
Diffstat (limited to 'youtube')
-rw-r--r-- | youtube/templates/common_elements.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/templates/common_elements.html b/youtube/templates/common_elements.html index 9f2aa3f..b140332 100644 --- a/youtube/templates/common_elements.html +++ b/youtube/templates/common_elements.html @@ -78,7 +78,7 @@ {{ get_stats(info) }} </div> - <span class="description">{{ text_runs(info['description']) }}</span> + <span class="description">{{ text_runs(info.get('description', '')) }}</span> <span class="badges">{{ info['badges']|join(' | ') }}</span> {% elif info['type'] == 'playlist' %} <a class="playlist-thumbnail-box" href="{{ info['url'] }}" title="{{ info['title'] }}"> |