don't return None there
This commit is contained in:
parent
28339b22e0
commit
d934ba90b5
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ async def get_image_file_names() -> Iterator[str]:
|
||||||
)
|
)
|
||||||
|
|
||||||
except RemoteResourceNotFound:
|
except RemoteResourceNotFound:
|
||||||
pass
|
return iter(())
|
||||||
|
|
||||||
|
|
||||||
@router.get("/list", response_model=list[str])
|
@router.get("/list", response_model=list[str])
|
||||||
|
|
Loading…
Reference in a new issue