summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguo <[email protected]>2022-03-10 09:34:04 +0800
committerGitHub <[email protected]>2022-03-10 09:34:04 +0800
commitf660d8100c39a9f8e423732296dd4e75f9707f9b (patch)
tree39c85032c0f96b54b7217cc767fc59362e34ee0d
parent0569add5b25e2ba54bd40a4b57b6886bb9ac359d (diff)
parentd99406f40c38344a26b3505acaaa12b7d275e69c (diff)
Merge pull request #5653 from rtthread-bot/rtt_bot
[update] RT-Thread Robot automatic submission
-rw-r--r--tools/gcc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gcc.py b/tools/gcc.py
index 8c9685d52b..1b31d5d549 100644
--- a/tools/gcc.py
+++ b/tools/gcc.py
@@ -113,7 +113,7 @@ def GCCResult(rtconfig, str):
stdout, stderr = child.communicate()
# print(stdout)
- if stderr != '':
+ if stderr != '' and stderr != b'':
print(stderr)
have_fdset = 0