Skip to content

Commit f660d81

Browse files
authored
Merge pull request #5653 from rtthread-bot/rtt_bot
[update] RT-Thread Robot automatic submission
2 parents 0569add + d99406f commit f660d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def checkAndGetResult(pattern, string):
113113
stdout, stderr = child.communicate()
114114

115115
# print(stdout)
116-
if stderr != '':
116+
if stderr != '' and stderr != b'':
117117
print(stderr)
118118

119119
have_fdset = 0

0 commit comments

Comments
 (0)