forked from github/pelican
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']
|
||||
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)
|
||||
else:
|
||||
self.plugins = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue