From deeb9eb5bf0bb8c857d16d8bca0f7608b1d63842 Mon Sep 17 00:00:00 2001 From: Christopher Slowe Date: Mon, 6 Jul 2009 20:07:12 -0700 Subject: [PATCH] render fix to promoted link creation tool --- r2/r2/controllers/promotecontroller.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/r2/r2/controllers/promotecontroller.py b/r2/r2/controllers/promotecontroller.py index 02d8be370..21653d9a2 100644 --- a/r2/r2/controllers/promotecontroller.py +++ b/r2/r2/controllers/promotecontroller.py @@ -61,7 +61,6 @@ class PromoteController(RedditController): def GET_edit_promo(self, link): sr = Subreddit._byID(link.sr_id) listing = wrap_links(link) - rendered = listing.render() timedeltatext = '' if link.promote_until: @@ -69,7 +68,7 @@ class PromoteController(RedditController): resultion=2) form = PromoteLinkForm(sr = sr, link = link, - listing = rendered, + listing = listing, timedeltatext = timedeltatext) page = PromotePage('new_promo', content = form)