RarInfo.needs_password() returns integer rather than bool #22

Closed
mhchia opened this Issue May 20, 2016 · 0 comments

Projects

None yet

1 participant

@mhchia
mhchia commented May 20, 2016
>>> bf.infolist()[0].needs_password()
4

As above mentioned, it is quite confusing although we know that "not 0" means True

@markokr markokr added a commit that closed this issue May 20, 2016
@markokr Return boolean from needs_password()
Fixes: #22
101fad5
@markokr markokr closed this in 101fad5 May 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment