summaryrefslogtreecommitdiff
path: root/kvmd
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd')
-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