summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paste/deploy/loadwsgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/deploy/loadwsgi.py b/paste/deploy/loadwsgi.py
index 42aa9b3..66046c7 100644
--- a/paste/deploy/loadwsgi.py
+++ b/paste/deploy/loadwsgi.py
@@ -493,7 +493,7 @@ class ConfigLoader(_Loader):
# This will work with 'server' and 'filter', otherwise it
# could fail but there is an error message already for
# bad protocols
- context.protocol = 'paste.%s_factory' % context_protocol
+ context.protocol = 'paste.%s_factory' % section_protocol
return context