Skip to content

Commit 7ee775b

Browse files
author
autoblack
committed
fixup: less_complex Python code reformatted using Black
1 parent 04ebc70 commit 7ee775b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugwise/helper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,8 @@ def schemas(self, loc_id):
934934
for rule_id, dummy in rule_ids.items():
935935
name = self._domain_objects.find(f'rule[@id="{rule_id}"]/name').text
936936
active = (
937-
self._domain_objects.find(f'rule[@id="{rule_id}"]/active').text == "true"
937+
self._domain_objects.find(f'rule[@id="{rule_id}"]/active').text
938+
== "true"
938939
)
939940
schemas[name] = active
940941
schedules = {}

0 commit comments

Comments
 (0)