Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: TypeError: a bytes-like object is required
I'm getting TypeError: a bytes-like object is required, not 'str' for that part of the code. `if capability.encode('utf-8') in result:` or `if capability in result.decode('utf-8'):` could be better choices.
- Loading branch information