Eclectic Media Git klaus / c8ca42e
remove bjoern support due a bug serving static files -- https://github.com/mitsuhiko/flask/issues/407 posativ 8 years ago
1 changed file(s) with 2 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
77 from dulwich.errors import NotGitRepository
88 from klaus import make_app
99
10 try:
11 from bjoern import run
12 except ImportError:
13 bjoern = None
1410
1511 if __name__ == '__main__':
1612
6258 from werkzeug.debug import DebuggedApplication
6359 app = DebuggedApplication(app, evalex=True)
6460
65 if bjoern and not options.use_reloader:
66 run(app, options.interface, options.port)
67 else:
68 from werkzeug.serving import run_simple
69 run_simple(options.interface, options.port, app, use_reloader=options.reloader)
61 from werkzeug.serving import run_simple
62 run_simple(options.interface, options.port, app, use_reloader=options.reloader)