From 29dd5267a90f653fb07d7bf2c8e8aef7d1f15e73 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Tue, 30 Jun 2026 17:05:43 +0200 Subject: [PATCH] - fixed hendiCtrl exceptions --- components/actor/hendiCtrl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/actor/hendiCtrl.py b/components/actor/hendiCtrl.py index 0fa175f..88da308 100755 --- a/components/actor/hendiCtrl.py +++ b/components/actor/hendiCtrl.py @@ -118,6 +118,8 @@ class HendiCtrl: def cmd(self, req): self.__write(req) rsp = self.__read() + if len(rsp) == 0: + raise HendiException(f"Communication error") if "OK" not in rsp[0]: raise HendiException(f"Communication error")