Skip to content
Permalink
Browse files

fix set message = sysmessage.decode(ascii)

  • Loading branch information...
antgonza committed May 15, 2019
1 parent 70ce8ec commit 06beac713327988610dfe5d4d7028dcc7c5789fd
Showing with 1 addition and 1 deletion.
  1. +1 −1 qiita_pet/templates/sitebase.html
@@ -13,7 +13,7 @@
{% set message = globals().get('message', '') %}
{% if sysmessage is not None %}
{# since this is a systemwide message, allow regular messages as well #}
{% set message = sysmessage + "<br />" + str(message) %}
{% set message = sysmessage.decode('ascii') + "<br />" + str(message) %}
{% end %}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

0 comments on commit 06beac7

Please sign in to comment.
You can’t perform that action at this time.