forked from github/pelican
Merge pull request #1947 from magul/tuple-fix
Fix issue with one-element tuple
This commit is contained in:
commit
9d4c140c49
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ def read_settings(path=None, override=None):
|
|||
and not isabs(local_settings[p]):
|
||||
absp = os.path.abspath(os.path.normpath(os.path.join(
|
||||
os.path.dirname(path), local_settings[p])))
|
||||
if p not in ('THEME') or os.path.exists(absp):
|
||||
if p != 'THEME' or os.path.exists(absp):
|
||||
local_settings[p] = absp
|
||||
|
||||
if 'PLUGIN_PATH' in local_settings:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue