summaryrefslogtreecommitdiff
path: root/src/home/util.py
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-06-09 02:05:29 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-06-09 02:05:29 +0300
commitb26a622543076ee905a9ce920e791ec9d62ca865 (patch)
treef8c679050202c6fc953d413c127d319def0b02bf /src/home/util.py
parent2d6bb8278750ab0c79604a6c14726cd67bcf4cc2 (diff)
wip
Diffstat (limited to 'src/home/util.py')
-rw-r--r--src/home/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/util.py b/src/home/util.py
index a5eba5b..155b4ef 100644
--- a/src/home/util.py
+++ b/src/home/util.py
@@ -58,7 +58,7 @@ def parse_addr(addr: str) -> Addr:
if not 0 <= port <= 65535:
raise ValueError('invalid port')
- return host, port
+ return Addr(host, port)
def strgen(n: int):