mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix debug in paster entry point
This commit is contained in:
parent
85b12af1ca
commit
ea59668787
@ -154,6 +154,8 @@ def paste_server(app, global_conf=None, host="127.0.0.1", port=None,
|
|||||||
if global_conf:
|
if global_conf:
|
||||||
for key, value in list(global_conf.items()):
|
for key, value in list(global_conf.items()):
|
||||||
if value and value is not None:
|
if value and value is not None:
|
||||||
|
if key == "debug":
|
||||||
|
value = (value == "true")
|
||||||
options[key] = value
|
options[key] = value
|
||||||
|
|
||||||
conf = Config(options)
|
conf = Config(options)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user