Commit 686b4086 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

NBI component:

- Corrected initalization script
parent ac416063
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -85,10 +85,11 @@ def configure_nbi(

    return nbi_app

nbi_app = configure_nbi(base_url=BASE_URL)

if __name__ == '__main__':
    # Only used to run it locally during development stage;
    # otherwise, app is directly launched by gunicorn.
    _nbi_app = configure_nbi(base_url=BASE_URL)
    _nbi_app.run_standalone(
        bind_address=BIND_ADDRESS, bind_port=BIND_PORT
    )