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 ce64df4 commit fd224b0Copy full SHA for fd224b0
adafruit_shell.py
@@ -73,7 +73,7 @@ def run_command(self, cmd, suppress_message=False, return_output=False):
73
while True:
74
output = proc.stdout.readline()
75
err = proc.stderr.read()
76
- if len(err) and not suppress_message:
+ if err and not suppress_message:
77
self.error(err.decode("utf-8", errors="ignore"))
78
if len(output) == 0 and proc.poll() is not None:
79
break
0 commit comments