Skip to content

Commit af02eca

Browse files
authored
Merge pull request #21 from adafruit/linting
Switched to using a generator
2 parents 5ca79c9 + 51cc737 commit af02eca

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)