Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plugin_disk: Fix checking the 'removable' attribute on python3
The 'removable' attribute is a bytestring, so it will never be equal to "0" in python3. Check equality with b"0" instead. The patch was originally written by Tomáš Korbař. Signed-off-by: Ondřej Lysoněk <[email protected]>
- Loading branch information