diff options
Diffstat (limited to 'osdfapp.py')
-rwxr-xr-x | osdfapp.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -128,7 +128,7 @@ def internal_failure(error): return response -def getOptions(argv): +def get_options(argv): program_version_string = '%%prog %s' % ("v1.0") program_longdesc = "" program_license = "" @@ -152,11 +152,11 @@ if __name__ == "__main__": ports = sys_conf['osdf_ports'] internal_port, external_port = ports['internal'], ports['external'] ssl_context = tuple(sys_conf['ssl_context']) - local_host = "0.0.0.0" + local_host = "0.0.0.0" # NOSONAR common_app_opts = dict(host=local_host, threaded=True, use_reloader=False) - opts = getOptions(sys.argv) + opts = get_options(sys.argv) if (not opts.local and not opts.devtest): # normal deployment app.run(port=internal_port, ssl_context=ssl_context, debug=False, **common_app_opts) else: |