summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergBobrovsky <SergBobrovsky@users.noreply.github.com>2020-12-24 01:05:16 +0300
committerMarcel Hellkamp <marc@gsites.de>2020-12-31 16:22:48 +0100
commit207d51d9a3bb2ae7a9732a686355ab89acc38ac7 (patch)
tree88478dc763699db89e09562256b9166cbc04861a
parenteeede5e77a2735b905c26110c96db4e10a9c788c (diff)
downloadbottle-207d51d9a3bb2ae7a9732a686355ab89acc38ac7.tar.gz
change list to tuple
-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