mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #2065 from amyspark/master
Initialize locale for Python 2+ in quickstart script. Fixes #2043
This commit is contained in:
commit
82ada44aa8
1 changed files with 2 additions and 0 deletions
|
|
@ -21,6 +21,8 @@ import six
|
||||||
|
|
||||||
from pelican import __version__
|
from pelican import __version__
|
||||||
|
|
||||||
|
if (sys.version_info.major == 2):
|
||||||
|
locale.setlocale(locale.LC_ALL, '')
|
||||||
|
|
||||||
_TEMPLATES_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)),
|
_TEMPLATES_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)),
|
||||||
"templates")
|
"templates")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue