diff options
author | Marcel Hellkamp <marc@gsites.de> | 2022-10-04 18:25:22 +0200 |
---|---|---|
committer | Marcel Hellkamp <marc@gsites.de> | 2022-10-04 18:25:22 +0200 |
commit | 36ef904576ca240efa2c49a77a008a8be70087c2 (patch) | |
tree | 4ef3cb57c9f1b6696ce2144ae1d39526d6ebb1b1 /bottle.py | |
parent | b9c4274b38e35ca63788d2535843ded099ddd412 (diff) | |
download | bottle-36ef904576ca240efa2c49a77a008a8be70087c2.tar.gz |
fix: Route.get_config typo
Diffstat (limited to 'bottle.py')
-rw-r--r-- | bottle.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -565,7 +565,7 @@ class Route(object): def get_config(self, key, default=None): ''' Lookup a config field and return its value, first checking the route.config, then route.app.config.''' - for conf in (self.config, self.app.conifg): + for conf in (self.config, self.app.config): if key in conf: return conf[key] return default |