From 61ff2f38cfa450dd6aec94bf4c2a14c26da22b0e Mon Sep 17 00:00:00 2001 From: Danglewood <85772166+deeleeramone@users.noreply.github.com> Date: Wed, 4 Dec 2024 23:30:53 -0800 Subject: [PATCH] small cleanup --- openbb_platform/core/openbb_core/api/rest_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbb_platform/core/openbb_core/api/rest_api.py b/openbb_platform/core/openbb_core/api/rest_api.py index 7c4cd5dffbc..df7b121c4e7 100644 --- a/openbb_platform/core/openbb_core/api/rest_api.py +++ b/openbb_platform/core/openbb_core/api/rest_api.py @@ -95,6 +95,6 @@ async def lifespan(_: FastAPI): if uvicorn_reload is None or uvicorn_reload: uvicorn_kwargs["reload"] = True - uvicorn_app = uvicorn_kwargs.pop("app", None) or "openbb_core.api.rest_api:app" + uvicorn_app = uvicorn_kwargs.pop("app", "openbb_core.api.rest_api:app") uvicorn.run(uvicorn_app, **uvicorn_kwargs)