Fix ascii media type for Python 3. Fix by 宋文武 (iyzsong)
This commit is contained in:
parent
410ab9cacd
commit
eb564614cb
@ -24,7 +24,7 @@
|
||||
<pre>
|
||||
{%- autoescape False -%}
|
||||
{{- request.app.public_store.get_file(
|
||||
media.media_files['unicode']).read()|string -}}
|
||||
media.media_files['unicode']).read().decode('utf-8')|string -}}
|
||||
{%- endautoescape -%}
|
||||
</pre>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user