summaryrefslogtreecommitdiff
path: root/kvmd/apps
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-11-20 23:07:59 +0300
committerMaxim Devaev <[email protected]>2022-11-20 23:07:59 +0300
commit7e7e17bbc22733ad436c0d32bd351ba7976812f5 (patch)
tree425ae11f9e46b513fbb5cb3bc7e249034a37e1a3 /kvmd/apps
parente4457a8f7911a15a298c24d9388981eea1fcf613 (diff)
fix
Diffstat (limited to 'kvmd/apps')
-rw-r--r--kvmd/apps/janus/stun.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/janus/stun.py b/kvmd/apps/janus/stun.py
index 3b66b72e..5fea9da6 100644
--- a/kvmd/apps/janus/stun.py
+++ b/kvmd/apps/janus/stun.py
@@ -116,7 +116,7 @@ class Stun:
elif isinstance(addr, str):
addr_t = (addr, self.port)
else:
- assert addr_t is None
+ assert addr is None
addr_t = (self.host, self.port)
# https://datatracker.ietf.org/doc/html/rfc5389#section-6