mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Plugins in PLUGIN_PATHS should be searched after the ones installed from Pypi
This commit is contained in:
parent
60e80ad634
commit
4530a56d66
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class Pelican(object):
|
|||
logger.debug('Temporarily adding PLUGIN_PATHS to system path')
|
||||
_sys_path = sys.path[:]
|
||||
for pluginpath in self.settings['PLUGIN_PATHS']:
|
||||
sys.path.insert(0, pluginpath)
|
||||
sys.path.append(pluginpath)
|
||||
for plugin in self.settings['PLUGINS']:
|
||||
# if it's a string, then import it
|
||||
if isinstance(plugin, six.string_types):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue