summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-09-07 01:32:58 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-09-07 01:32:58 +0300
commit44aad914a3cea1b6e39cf5db7bebeafb59191707 (patch)
tree29ab9268240ca2b8c835b1d080f77015c16c1b3a
parent949eec3dc9cd37c70fb553e3e3f57decc8c89afc (diff)
util: Addr.fromstring(): minor rcode style fix
-rw-r--r--include/py/homekit/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/py/homekit/util.py b/include/py/homekit/util.py
index 11e7116..22bba86 100644
--- a/include/py/homekit/util.py
+++ b/include/py/homekit/util.py
@@ -60,7 +60,7 @@ class Addr:
if not colons:
host = addr
- port= None
+ port = None
else:
host, port = addr.split(':')