forked from orbit-oss/flask
Update config.py
This commit is contained in:
parent
56a7e8361d
commit
bbd9c2f100
1 changed files with 2 additions and 0 deletions
|
|
@ -247,6 +247,8 @@ class Config(dict):
|
|||
continue
|
||||
if trim_namespace:
|
||||
key = k[len(namespace):]
|
||||
else:
|
||||
key = k
|
||||
if lowercase:
|
||||
key = key.lower()
|
||||
rv[key] = v
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue