mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
fixing issue with one-element tuple
This commit is contained in:
parent
515f2fb5b2
commit
3d2eb1d45e
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