summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbottle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bottle.py b/bottle.py
index 5f42930..c13c99e 100755
--- a/bottle.py
+++ b/bottle.py
@@ -2422,7 +2422,7 @@ class ConfigDict(dict):
for section in conf.sections():
for key in conf.options(section):
value = conf.get(section, key)
- if section not in ['bottle', 'ROOT']:
+ if section not in ('bottle', 'ROOT'):
key = section + '.' + key
self[key.lower()] = value
return self