mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 04:32:37 +01:00
test-runner: allow decode failure when writing IO
If this fails, e.g. an invalid utf-8 character it should not cause the test to fail.
This commit is contained in:
parent
9edb196395
commit
cec5fab9b3
@ -168,7 +168,10 @@ class Process(subprocess.Popen):
|
||||
if not data:
|
||||
return True
|
||||
|
||||
data = data.decode('utf-8')
|
||||
try:
|
||||
data = data.decode('utf-8')
|
||||
except:
|
||||
return True
|
||||
|
||||
# Save data away in case the caller needs it (e.g. list_sta)
|
||||
self.out += data
|
||||
|
Loading…
Reference in New Issue
Block a user