mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
import readline in pelican_quicktart.py if available
This commit is contained in:
parent
cfcf40f1f8
commit
90e1bc0810
1 changed files with 5 additions and 0 deletions
|
|
@ -11,6 +11,11 @@ import sys
|
|||
|
||||
import pytz
|
||||
|
||||
try:
|
||||
import readline
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
try:
|
||||
import tzlocal
|
||||
_DEFAULT_TIMEZONE = tzlocal.get_localzone().zone
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue