| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,6 +38,10 @@ def set_from_cli(self, cli_value): | |||
| 38 | 38 | self._value = [item.strip() for item in cli_value.split(",")] | |
| 39 | 39 | ||
| 40 | 40 | def get_for_api(self): | |
| 41 | + # Do not comma-split single value passed as string | ||
| 42 | + if isinstance(self._value, str): | ||
| 43 | + return self._value | ||
| 44 | + | ||
| 41 | 45 | return ",".join(self._value) | |
| 42 | 46 | ||
| 43 | 47 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments