Skip to content

Commit

Permalink
set is not a sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Jul 15, 2023
1 parent 1b26dad commit bffa667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomenklatura/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def string_list(value: Any) -> List[str]:
if text is None:
return []
return [text]
if not isinstance(value, Sequence):
if not isinstance(value, (Sequence, set)):
value = [value]
texts: List[str] = []
for inner in value:
Expand Down

0 comments on commit bffa667

Please sign in to comment.