From 97b888f8f2b01df8b37cbeab229e171324012c0f Mon Sep 17 00:00:00 2001 From: Catalin Iacob Date: Tue, 29 Nov 2011 22:21:43 +0100 Subject: Fix helloworld example. It got broken in f8869cb0664506204b22aa791003a6d5f8ded58c when moving from Paste to wsgiref. --- docs/narr/helloworld.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/narr/helloworld.py b/docs/narr/helloworld.py index 93a403a13..7c26c8cdc 100644 --- a/docs/narr/helloworld.py +++ b/docs/narr/helloworld.py @@ -10,6 +10,6 @@ if __name__ == '__main__': config.add_route('hello', '/hello/{name}') config.add_view(hello_world, route_name='hello') app = config.make_wsgi_app() - server = make_server('0.0.0.0', 8080) + server = make_server('0.0.0.0', 8080, app) server.serve_forever() -- cgit v1.2.3