Skip to content

Commit d08f85a

Browse files
committed
chore: legibility change
1 parent b6d240d commit d08f85a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stac_auth_proxy/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def create_app(settings: Optional[Settings] = None) -> FastAPI:
4141
path,
4242
(
4343
proxy.stream
44-
if not path == settings.openapi_spec_endpoint
44+
if path != settings.openapi_spec_endpoint
4545
else openapi_handler
4646
),
4747
methods=methods,
@@ -54,7 +54,7 @@ def create_app(settings: Optional[Settings] = None) -> FastAPI:
5454
path,
5555
(
5656
proxy.stream
57-
if not path == settings.openapi_spec_endpoint
57+
if path != settings.openapi_spec_endpoint
5858
else openapi_handler
5959
),
6060
methods=methods,

0 commit comments

Comments
 (0)