forked from github/pelican
Support Booleans in --extra-settings. Refs #2789
This commit is contained in:
parent
4c440e6b7d
commit
3564e6bbe7
1 changed files with 1 additions and 1 deletions
|
|
@ -665,7 +665,7 @@ def coerce_overrides(overrides):
|
|||
if overrides is None:
|
||||
return {}
|
||||
coerced = {}
|
||||
types_to_cast = {int, str}
|
||||
types_to_cast = {int, str, bool}
|
||||
for k, v in overrides.items():
|
||||
if k not in DEFAULT_CONFIG:
|
||||
logger.warning('Override for unknown setting %s, ignoring', k)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue