Commit bda43fd
committed
sigrokdriver: fix TypeError in stop() by passing bytes to communicate()
Popen is opened without text=True so stdin is in binary mode.
communicate(input=...) must receive bytes, not str.
Fixes Python 3.11+ TypeError: memoryview requires bytes, not str.
Fixes #1847
Signed-off-by: xistadi <xistadi@users.noreply.github.com>1 parent 3912486 commit bda43fd
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
0 commit comments