confighelper: getlists bugfix
If a valid "count" argument is received do not overwrite it with "None" values. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
834fa2e4e0
commit
ad66831324
|
@ -252,7 +252,7 @@ class ConfigHelper:
|
|||
f"Option '{option}' in section "
|
||||
f"[{self.section}]: length of 'count' argument must ",
|
||||
"match length of 'separators' argument")
|
||||
else:
|
||||
elif count is None:
|
||||
count = tuple(None for _ in range(len(separators)))
|
||||
|
||||
def list_parser(value: str,
|
||||
|
|
Loading…
Reference in New Issue