diff --git a/pyproject.toml b/pyproject.toml index 63d33d5..f68958c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "voip-utils" -version = "0.2.1" +version = "0.2.2" license = {text = "Apache-2.0"} description = "Voice over IP Utilities" readme = "README.md" diff --git a/voip_utils/voip.py b/voip_utils/voip.py index 246909c..64ab7a2 100644 --- a/voip_utils/voip.py +++ b/voip_utils/voip.py @@ -175,8 +175,7 @@ def datagram_received(self, data, addr): if not self._is_connected: return - if self.addr is None: - self.addr = addr + self.addr = addr try: # STT expects 16Khz mono with 16-bit samples