diff --git a/pyflowery/pyflowery.py b/pyflowery/pyflowery.py index a99ffb0..2f29b01 100644 --- a/pyflowery/pyflowery.py +++ b/pyflowery/pyflowery.py @@ -66,8 +66,7 @@ class FloweryAPI: async for voice in self.fetch_voices(): if voice.id == voice_id: return voice - else: - raise ValueError(f'Voice with ID {voice_id} not found.') + raise ValueError(f'Voice with ID {voice_id} not found.') async def fetch_voices(self) -> AsyncGenerator[Voice, None]: """Fetch a list of voices from the Flowery API diff --git a/pyflowery/version.py b/pyflowery/version.py index 2101409..b46c2e7 100644 --- a/pyflowery/version.py +++ b/pyflowery/version.py @@ -1 +1 @@ -VERSION = "2.0.0" +VERSION = "2.0.1" diff --git a/pyproject.toml b/pyproject.toml index ca08a97..4453fd7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyflowery" -version = "2.0.0" +version = "2.0.1" description = "A Python API wrapper for the Flowery API" authors = ["cswimr "] readme = "README.md"