Skip to content

Commit 6173537

Browse files
committed
Revert "handle string variables without plural commands, as single reads"
This reverts commit 96ba990.
1 parent 3ee518b commit 6173537

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs100.py

-2
Original file line numberDiff line numberDiff line change
@@ -1116,8 +1116,6 @@ def read_variables(self, vars):
11161116
ret = FS100.ERROR_SUCCESS
11171117
for keys_consecutive in keys_lists:
11181118
if len(keys_consecutive) == 1: ret |= self.read_variable(vars_dict[keys_consecutive[0]])
1119-
elif len(keys_consecutive) > 1 and vars_dict[keys_consecutive[0]].type == FS100.VarType.STRING:
1120-
for k in keys_consecutive: ret |= self.read_variable(vars_dict[k])
11211119
elif len(keys_consecutive) > 1: ret |= self._read_consecutive_variables([vars_dict[k] for k in keys_consecutive])
11221120

11231121
return ret

0 commit comments

Comments
 (0)