Skip to content

Commit

Permalink
fix source too
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonc committed Dec 15, 2011
1 parent 7e93756 commit 261fece
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions single_file_tasks/src/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
from pyramid.httpexceptions import HTTPFound
from pyramid.session import UnencryptedCookieSessionFactoryConfig
from pyramid.view import view_config
from pyramid.exceptions import NotFound

from paste.httpserver import serve
from wsgiref.simple_server import make_server

import sqlite3

logging.basicConfig()
Expand Down Expand Up @@ -93,4 +93,5 @@ def application_created_subscriber(event):
config.scan()
# serve app
app = config.make_wsgi_app()
serve(app, host='0.0.0.0')
server = make_server('0.0.0.0', 8080, app)
server.serve_forever()

0 comments on commit 261fece

Please sign in to comment.