comparison server_side/blog.py @ 12:513fe9bd0665

server: fixed wrong parameter number in blog resource
author Goffi <goffi@goffi.org>
date Sat, 26 Mar 2011 17:53:50 +0100
parents c28a4840e1a8
children 78bfc398926b
comparison
equal deleted inserted replaced
11:331c093e4eb3 12:513fe9bd0665
81 'date':_datetime, 81 'date':_datetime,
82 'content':sanitizeHtml(entry['content']).encode('utf-8')}) 82 'content':sanitizeHtml(entry['content']).encode('utf-8')})
83 request.write('</body></html>') 83 request.write('</body></html>')
84 request.finish() 84 request.finish()
85 85
86 def render_error_blog(self, error, request): 86 def render_error_blog(self, error, request, profile):
87 request.write(MicroBlog.ERROR_TEMPLATE % "Can't access requested data") 87 request.write(MicroBlog.ERROR_TEMPLATE % "Can't access requested data")
88 request.finish() 88 request.finish()