mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Import readline in pelican_quickstart.py if available (#2129)
This commit is contained in:
parent
668663684c
commit
63dfe70850
1 changed files with 5 additions and 0 deletions
|
|
@ -12,6 +12,11 @@ from jinja2 import Environment, FileSystemLoader
|
|||
|
||||
import pytz
|
||||
|
||||
try:
|
||||
import readline # NOQA
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
try:
|
||||
import tzlocal
|
||||
_DEFAULT_TIMEZONE = tzlocal.get_localzone().zone
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue