mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-12 23:45:23 -05:00
render fix to promoted link creation tool
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user