Skip to content

Commit 5ca1b32

Browse files
author
autoblack
committed
fixup: optimize Python code reformatted using Black
1 parent d15ad99 commit 5ca1b32

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

plugwise/helper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545

4646
_LOGGER = logging.getLogger(__name__)
4747

48+
4849
def check_model(name, v_name):
4950
"""Model checking before using version_to_model."""
5051
if v_name in ["Plugwise", "Plugwise B.V."]:
@@ -56,6 +57,7 @@ def check_model(name, v_name):
5657
else:
5758
return name
5859

60+
5961
def types_finder(data):
6062
"""Detect types within locations from logs."""
6163
types = set()

plugwise/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,4 +333,4 @@ def serialize(self):
333333

334334
def deserialize(self, val):
335335
Int.deserialize(self, val)
336-
self.value = (self.value - LOGADDR_OFFSET) // 32
336+
self.value = (self.value - LOGADDR_OFFSET) // 32

0 commit comments

Comments
 (0)