From d934ba90b518d6767e66d7db41e947473ab5d636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Fri, 2 Sep 2022 12:38:31 +0000 Subject: [PATCH] don't return None there --- api/ovdashboard_api/routers/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/ovdashboard_api/routers/image.py b/api/ovdashboard_api/routers/image.py index a0b59c8..b8ff576 100644 --- a/api/ovdashboard_api/routers/image.py +++ b/api/ovdashboard_api/routers/image.py @@ -30,7 +30,7 @@ async def get_image_file_names() -> Iterator[str]: ) except RemoteResourceNotFound: - pass + return iter(()) @router.get("/list", response_model=list[str])