def action_bad(self, request):
"""TBD."""
data = {
"title": "Top of bad stikers for Telegram",
"active_good": "",
"active_bad": "class=\"active\"",
"top": {}
}
await self.session_handler(request=request)
data['top'] = await self.db.get_top(9, 'ITERATOR_GE')
return web.Response(
text=self.jinja.get_template('good.html').render(
title=data["title"],
active_good=data["active_good"],
active_bad=data["active_bad"],
top=data["top"]
),
content_type='text/html')
aiohttponeconnect.py 文件源码
python
阅读 19
收藏 0
点赞 0
评论 0
评论列表
文章目录