mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Text tweaks for "PLUGIN_PATH as list" feature
This commit is contained in:
parent
c386e29d0c
commit
f0802e8114
2 changed files with 6 additions and 6 deletions
|
|
@ -144,7 +144,7 @@ def read_settings(path=None, override=None):
|
|||
local_settings[p] = absp
|
||||
|
||||
if isinstance(local_settings['PLUGIN_PATH'], six.string_types):
|
||||
logger.warning("Detected misconfiguration with %s setting ""(must be a list)" % 'PLUGIN_PATH')
|
||||
logger.warning("Defining %s setting as string has been deprecated (should be a list)" % 'PLUGIN_PATH')
|
||||
local_settings['PLUGIN_PATH'] = [local_settings['PLUGIN_PATH']]
|
||||
else:
|
||||
if 'PLUGIN_PATH' in local_settings and local_settings['PLUGIN_PATH'] is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue