*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 92d71f8d authored by android172's avatar android172
Browse files

Fix for None type decode.

parent 2ebcc219
No related branches found
No related tags found
No related merge requests found
......@@ -86,8 +86,8 @@ def test_warps_and_scenes():
print(ret.stderr)
bt_s, rt_s = extract_times(ret.stdout, "-" if ret.returncode == 0 else "error")
except subprocess.TimeoutExpired as e:
out = e.stdout.decode('utf-8')
err = e.stderr.decode('utf-8')
out = e.stdout.decode('utf-8') if e.stdout else ""
err = e.stderr.decode('utf-8') if e.stderr else ""
print(out)
print(err)
bt_s, rt_s = extract_times(out, "timeout")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment