diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-06-09 02:05:29 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-06-09 02:05:29 +0300 |
commit | b26a622543076ee905a9ce920e791ec9d62ca865 (patch) | |
tree | f8c679050202c6fc953d413c127d319def0b02bf /src/home/util.py | |
parent | 2d6bb8278750ab0c79604a6c14726cd67bcf4cc2 (diff) |
wip
Diffstat (limited to 'src/home/util.py')
-rw-r--r-- | src/home/util.py | 2 |
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): |