Skip to content

Commit

Permalink
consistency: accept more iterables
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Mar 4, 2024
1 parent bc7be5d commit c9a9ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/scripts/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1385,7 +1385,7 @@ def fixup_debug_option(value:str) -> str:
return value

def csvstr(value) -> str:
if isinstance(value, (tuple, list)):
if isinstance(value, (list, tuple, set, dict)):
return ",".join(str(x).strip() for x in value if x)
if isinstance(value, str):
return value.strip()
Expand Down

0 comments on commit c9a9ff9

Please sign in to comment.