cleanup logging and update requirements

Signed-off-by: vladmandic <mandic00@live.com>
This commit is contained in:
vladmandic
2026-03-13 13:02:41 +01:00
parent e8ba35e7e9
commit f9abe07035
12 changed files with 20 additions and 99 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ class APIControl:
u = req.control[i]
ut = u.unit_type if u.unit_type is not None else default_type
if ut not in unit_types:
shared.log.error(f'Control unknown unit type: type={ut} available={unit_types}')
log.error(f'Control unknown unit type: type={ut} available={unit_types}')
continue
if (len(self.units) > i) and (self.units[i].process_id == u.process) and (self.units[i].model_id == u.model) and (self.units[i].type == ut):
unit = self.units[i]