summaryrefslogtreecommitdiff
path: root/include/py/homekit/config/config.py
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2024-02-19 01:44:02 +0300
committerEvgeny Zinoviev <me@ch1p.io>2024-02-19 01:44:11 +0300
commit3741f7cf78a288e967415ccb6736c888a21c211b (patch)
treea48d8331c9936d6c108de4d0f9179a089b1e56e6 /include/py/homekit/config/config.py
parentd79309e498cdc1358c81367ce2a93a5731e517d1 (diff)
web_kbn: almost completely ported lws to python
Diffstat (limited to 'include/py/homekit/config/config.py')
-rw-r--r--include/py/homekit/config/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/py/homekit/config/config.py b/include/py/homekit/config/config.py
index 3aa0e04..1eec97d 100644
--- a/include/py/homekit/config/config.py
+++ b/include/py/homekit/config/config.py
@@ -67,7 +67,7 @@ class BaseConfigUnit(ABC):
return self._data
cur = self._data
- pts = key.split('.')
+ pts = str(key).split('.')
for i in range(len(pts)):
k = pts[i]
if i < len(pts)-1: