Skip to content

Commit 01e6ad8

Browse files
author
James Boulton
committed
fix bug in multiple cfg parsing
1 parent 3ca0852 commit 01e6ad8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dashio/iotcontrol/control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def get_cfg(self, data) -> list:
331331
cfgs = self._app_columns_cfg[str(num_columns)]
332332
if cfgs:
333333
for cfg in cfgs:
334-
cfg_list.append(f"\tCFG\t{dashboard_id}\t{self.cntrl_type}\t{cfg.get_cfg_json()}")
334+
cfg_list.append(f"\tCFG\t{dashboard_id}\t{self.ctrl_type}\t{cfg.get_cfg_json()}")
335335
break
336336
num_columns = num_columns - 1
337337
return cfg_list

0 commit comments

Comments
 (0)