fix(cgi): adapt load_config() signature
This commit is contained in:
parent
49604c1e37
commit
9845c85510
3 changed files with 6 additions and 6 deletions
|
|
@ -4,8 +4,8 @@
|
|||
from wsgiref.handlers import CGIHandler
|
||||
from httpaste import load_config, get_flask_app
|
||||
|
||||
config, server_config = load_config()
|
||||
config = load_config()
|
||||
|
||||
application = get_flask_app(config, server_config)
|
||||
application = get_flask_app(config)
|
||||
|
||||
CGIHandler().run(application)
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
from flup.server.fcgi import WSGIServer
|
||||
from httpaste import load_config, get_flask_app
|
||||
|
||||
config, server_config = load_config()
|
||||
config = load_config()
|
||||
|
||||
application = get_flask_app(config, server_config)
|
||||
application = get_flask_app(config)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,6 @@
|
|||
"""
|
||||
from httpaste import load_config, get_flask_app
|
||||
|
||||
config, server_config = load_config()
|
||||
config = load_config()
|
||||
|
||||
application = get_flask_app(config, server_config)
|
||||
application = get_flask_app(config)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue