diff options
author | toonn <toonn@toonn.io> | 2020-07-07 20:29:31 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2020-07-07 20:29:31 +0200 |
commit | 2637329b2d8ace6231c82258e072d3f800bf637d (patch) | |
tree | 391f7a83ec29fd409bce7743c6f8c82ae185c482 /doc | |
parent | 8fd2e80148a75711e822e16d2edc87a1014527a8 (diff) | |
download | ranger-2637329b2d8ace6231c82258e072d3f800bf637d.tar.gz |
Hashlib requires objects implementing the buffer API
The hashes from python's hashlib only support objects that implement the buffer API. Bytes objects (python 2 string, python 3 string.encode()) are such objects. Passing fields from a stat object to a hash directly caused crashes whenever ranger checked for an image preview. Fixes #2032
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions