mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fix little bug when declaring plugins path in config file
This commit is contained in:
parent
1085e0b2f1
commit
20b0d1d4ae
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class Pelican(object):
|
||||||
|
|
||||||
plugins_path = plugins_path or settings['PLUGINS_PATH']
|
plugins_path = plugins_path or settings['PLUGINS_PATH']
|
||||||
if plugins_path:
|
if plugins_path:
|
||||||
plugins_path = os.path.abspath(plugins_path)
|
plugins_path = os.path.abspath(os.path.expanduser(plugins_path))
|
||||||
self.load_plugins(plugins_path)
|
self.load_plugins(plugins_path)
|
||||||
else:
|
else:
|
||||||
self.plugins = None
|
self.plugins = None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue