Mercurial > libervia-web
diff libervia/pages/blog/view/page_meta.py @ 1219:0f0c36992f3c
pages (blog/view, forums/view): fixed encoding of request.args following Python3 port
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 16 Aug 2019 17:14:46 +0200 |
parents | b2d067339de3 |
children | acec8e9185db |
line wrap: on
line diff
--- a/libervia/pages/blog/view/page_meta.py Fri Aug 16 17:13:42 2019 +0200 +++ b/libervia/pages/blog/view/page_meta.py Fri Aug 16 17:14:46 2019 +0200 @@ -238,7 +238,7 @@ """ % cgi.escape(bg_img, True)) template_data['items'] = data['items'] = items - if request.args.get('reverse') == ['1']: + if request.args.get(b'reverse') == ['1']: template_data['items'].items.reverse() template_data['items_http_uri'] = items_http_uri = {} template_data['tags_http_uri'] = tags_http_uri = {}