mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
parent
ecc5d0b953
commit
270817c022
1 changed files with 3 additions and 1 deletions
|
|
@ -275,7 +275,9 @@ def configure_settings(settings):
|
||||||
except locale.Error:
|
except locale.Error:
|
||||||
pass
|
pass
|
||||||
else:
|
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' in settings):
|
||||||
# If SITEURL has a trailing slash, remove it and provide a warning
|
# If SITEURL has a trailing slash, remove it and provide a warning
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue