summaryrefslogtreecommitdiff
path: root/kvmd/apps/janus
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-08-05 18:19:31 +0300
committerMaxim Devaev <[email protected]>2022-08-05 18:19:31 +0300
commitd21e74700a5b236ea19981ff74724790a8bc4efc (patch)
tree9bda87884ece795b05a81bfc4863b4562e84d9ca /kvmd/apps/janus
parenteeaeebf7c76385536eb8f5daaea5f21bda18b735 (diff)
shielded some tasks
Diffstat (limited to 'kvmd/apps/janus')
-rw-r--r--kvmd/apps/janus/stun.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/kvmd/apps/janus/stun.py b/kvmd/apps/janus/stun.py
index a71cbd43..dc41b961 100644
--- a/kvmd/apps/janus/stun.py
+++ b/kvmd/apps/janus/stun.py
@@ -63,7 +63,6 @@ class Stun:
self.__sock: Optional[socket.socket] = None
async def get_info(self, src_ip: str, src_port: int) -> Tuple[str, str]:
-
(family, _, _, _, addr) = socket.getaddrinfo(src_ip, src_port, type=socket.SOCK_DGRAM)[0]
try:
with socket.socket(family, socket.SOCK_DGRAM) as self.__sock: