Skip to content

Commit 51cc737

Browse files
committed
Switched to using a generator
1 parent 5ca79c9 commit 51cc737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_rockblock.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def status(self):
175175
resp = self._uart_xfer("+SBDSX")
176176
if resp[-1].strip().decode() == "OK":
177177
status = resp[1].strip().decode().split(":")[1]
178-
return tuple([int(a) for a in status.split(",")])
178+
return tuple(int(a) for a in status.split(","))
179179
return (None,) * 6
180180

181181
@property

0 commit comments

Comments
 (0)