Skip to content

Commit

Permalink
Always set addr
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam committed Dec 29, 2024
1 parent 16de483 commit 5472d4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions voip_utils/voip.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5472d4c

Please sign in to comment.