forked from github/pelican
parent
ecc5d0b953
commit
270817c022
1 changed files with 3 additions and 1 deletions
|
|
@ -275,7 +275,9 @@ def configure_settings(settings):
|
|||
except locale.Error:
|
||||
pass
|
||||
else:
|
||||
logger.warning("LOCALE option doesn't contain a correct value")
|
||||
logger.warning(
|
||||
"Locale could not be set. Check the LOCALE setting, ensuring it "
|
||||
"is valid and available on your system.")
|
||||
|
||||
if ('SITEURL' in settings):
|
||||
# If SITEURL has a trailing slash, remove it and provide a warning
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue