mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #905 from Rogdham/pelican-quickstart_encoding
Encoding issue in pelican-quickstart. Fixes #904
This commit is contained in:
commit
15606f8dea
1 changed files with 1 additions and 2 deletions
|
|
@ -37,8 +37,7 @@ def _input_compat(prompt):
|
||||||
if six.PY3:
|
if six.PY3:
|
||||||
r = input(prompt)
|
r = input(prompt)
|
||||||
else:
|
else:
|
||||||
# FIXME: why use this with @decoding_strings?
|
r = raw_input(prompt)
|
||||||
r = raw_input(prompt).decode('utf-8')
|
|
||||||
return r
|
return r
|
||||||
|
|
||||||
if six.PY3:
|
if six.PY3:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue