!467 修正切换scons版本(比如最新的4.3.0)后,编译时在"scons: Reading SConscript files ..."后打印出"b''的问题

Merge pull request !467 from 李润聪/gitee_master
This commit is contained in:
bernard 2022-03-09 09:01:04 +00:00 committed by Gitee
commit 50f7aa2d3f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -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