Skip to content

Commit

Permalink
chore: use **REDACTED** instead of *MASKED* in logs (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
luuuis authored Feb 14, 2024
1 parent 1cec76d commit a0e9400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/wibeee/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ def scrub_values_xml(keys: list[str], xml_text: bytes) -> str:
for key in keys:
values = tree.xpath(f"/values/variable[id/text()='{key}']/value")
for v in values:
v.text = '*MASKED*'
v.text = '**REDACTED**'

return etree.tostring(tree)

0 comments on commit a0e9400

Please sign in to comment.