From d8d36033396a656cc4d5e9a9090cdd076ff2e8e0 Mon Sep 17 00:00:00 2001 From: woorst Date: Thu, 1 Jun 2017 22:30:19 -0500 Subject: [PATCH] fix KeyError --- rtv/content.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rtv/content.py b/rtv/content.py index f7f5471..833d920 100644 --- a/rtv/content.py +++ b/rtv/content.py @@ -171,6 +171,7 @@ class Content(object): data['comments'] = '' data['url_full'] = comment._fast_permalink data['url'] = comment._fast_permalink + data['permalink'] = comment._fast_permalink data['nsfw'] = comment.over_18 data['subreddit'] = six.text_type(comment.subreddit) data['url_type'] = 'selfpost'