diff options
author | SergBobrovsky <SergBobrovsky@users.noreply.github.com> | 2020-12-24 01:05:16 +0300 |
---|---|---|
committer | Marcel Hellkamp <marc@gsites.de> | 2020-12-31 16:22:48 +0100 |
commit | 207d51d9a3bb2ae7a9732a686355ab89acc38ac7 (patch) | |
tree | 88478dc763699db89e09562256b9166cbc04861a | |
parent | eeede5e77a2735b905c26110c96db4e10a9c788c (diff) | |
download | bottle-207d51d9a3bb2ae7a9732a686355ab89acc38ac7.tar.gz |
change list to tuple
-rwxr-xr-x | bottle.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |