Skip to content

Commit 787eae9

Browse files
author
autoruff
committed
fixup: digisaster-contrib Python code fixed using ruff
1 parent 0684bb8 commit 787eae9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugwise/util.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ def check_heater_central(xml: etree.Element) -> str:
9595
hc_list.append({hc_id: has_actuators})
9696

9797
if not hc_list:
98-
raise DataMissingError("No Central heating boiler found, please create an Issue")
98+
raise DataMissingError(
99+
"No Central heating boiler found, please create an Issue"
100+
)
99101

100102
heater_central_id = list(hc_list[0].keys())[0]
101103
if hc_count > 1:

0 commit comments

Comments
 (0)