We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ca79c9 commit 51cc737Copy full SHA for 51cc737
adafruit_rockblock.py
@@ -175,7 +175,7 @@ def status(self):
175
resp = self._uart_xfer("+SBDSX")
176
if resp[-1].strip().decode() == "OK":
177
status = resp[1].strip().decode().split(":")[1]
178
- return tuple([int(a) for a in status.split(",")])
+ return tuple(int(a) for a in status.split(","))
179
return (None,) * 6
180
181
@property
0 commit comments