Verified Commit af8764fe authored by Jan Miksik's avatar Jan Miksik
Browse files

fixup! feature: Added uci interface for board

parent 8a93a5e9
Pipeline #96940 passed with stages
in 1 minute and 3 seconds
......@@ -91,7 +91,7 @@ class UciShell(Setup):
# setup
self._uci("set", config, value)
def add_list(self, config: str, values: typing.Iterable[tuple]):
def add_list(self, config: str, values: typing.Union[tuple, list]):
# backup
if self._do_backup:
if "@" in config:
......@@ -191,7 +191,7 @@ class UciShell(Setup):
# setup
self._uci("del", config)
def del_list(self, config: str, values: list[str] = []):
def del_list(self, config: str, values: typing.Union[tuple, list] = []):
# backup
if self._do_backup:
_pre_backup = self.get(config)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment