Skip to content

Commit 7f8da18

Browse files
authored
Merge pull request #771 from elementary-data/fix-issue-770
fix issue in parsing of subscribers
2 parents f6a647c + ec681ee commit 7f8da18

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

elementary/utils/json_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def unpack_and_flatten_and_dedup_list_of_strings(
6363
def list_of_lists_of_strings_to_comma_delimited_unique_strings(
6464
list_of_strings: List[List[str]], prefix: Optional[str] = None
6565
) -> str:
66+
list_of_strings = [x for x in list_of_strings if x] # filter Nones and empty lists
6667
flat_list = sum_lists(list_of_strings)
6768
if prefix:
6869
flat_list = [append_prefix_if_missing(x, prefix) for x in flat_list]

0 commit comments

Comments
 (0)