Skip to content

Commit df1f61d

Browse files
committed
Fixed Lint
Signed-off-by: Macy Libed <macy.libed@analog.com>
1 parent 1f50e89 commit df1f61d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adi/adt7420.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ def __init__(self, uri=""):
1717
self._ctrl = self._ctx.find_device(self._device_name)
1818

1919
if not self._ctrl:
20-
raise Exception("ADT7420 device not found")
21-
20+
raise Exception("ADT7420 device not found")
21+
2222
self.channel = []
2323
self._rx_channel_names = []
2424

@@ -141,4 +141,4 @@ def temp_hyst(self):
141141
@temp_hyst.setter
142142
def temp_hyst(self, value):
143143
""" ADT7420 Channel Hysteresis Temperature """
144-
return self._set_iio_attr(self.name, "max_hyst", False, value)
144+
return self._set_iio_attr(self.name, "max_hyst", False, value)

0 commit comments

Comments
 (0)