Skip to content

Commit

Permalink
Fix invalid escape sequence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljcollinsuk committed Apr 23, 2024
1 parent 5d54922 commit 6aaccbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controlpanel/api/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ def _set_values(self, **kwargs):
if val:
# Helpful for debugging configs: ignore parameters with missing
# values and log that the value is missing.
escaped_val = val.replace(",", "\,") # noqa : W605
escaped_val = val.replace(",", r"\,")
set_values.extend(["--set", f"{key}={escaped_val}"])
else:
log.warning(
Expand Down

0 comments on commit 6aaccbb

Please sign in to comment.