We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f6a647c + ec681ee commit 7f8da18Copy full SHA for 7f8da18
1 file changed
elementary/utils/json_utils.py
@@ -63,6 +63,7 @@ def unpack_and_flatten_and_dedup_list_of_strings(
63
def list_of_lists_of_strings_to_comma_delimited_unique_strings(
64
list_of_strings: List[List[str]], prefix: Optional[str] = None
65
) -> str:
66
+ list_of_strings = [x for x in list_of_strings if x] # filter Nones and empty lists
67
flat_list = sum_lists(list_of_strings)
68
if prefix:
69
flat_list = [append_prefix_if_missing(x, prefix) for x in flat_list]
0 commit comments