Skip to content

Commit

Permalink
fixup cfd23b1: accept more iterables
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Mar 4, 2024
1 parent 0785cab commit 5cbf395
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 @@ -1414,7 +1414,7 @@ def fixup_debug_option(value:str) -> str:


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 5cbf395

Please sign in to comment.