summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hellkamp <marc@gsites.de>2022-10-04 18:25:22 +0200
committerMarcel Hellkamp <marc@gsites.de>2022-10-04 18:25:22 +0200
commit36ef904576ca240efa2c49a77a008a8be70087c2 (patch)
tree4ef3cb57c9f1b6696ce2144ae1d39526d6ebb1b1
parentb9c4274b38e35ca63788d2535843ded099ddd412 (diff)
downloadbottle-36ef904576ca240efa2c49a77a008a8be70087c2.tar.gz
fix: Route.get_config typo
-rw-r--r--bottle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bottle.py b/bottle.py
index 8dee39d..c317bf3 100644
--- a/bottle.py
+++ b/bottle.py
@@ -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