diff options
author | 5hir0kur0 <12101162+5hir0kur0@users.noreply.github.com> | 2020-03-05 10:04:59 +0100 |
---|---|---|
committer | 5hir0kur0 <12101162+5hir0kur0@users.noreply.github.com> | 2020-03-05 10:04:59 +0100 |
commit | f65e6f08bcf63b7d915d2a2e98d1f6f891cd30de (patch) | |
tree | d9fb460f96c627eb0cba89d899183e638fc94586 /LICENSE | |
parent | 081e73152a9391211770fab56676d7d974413ae6 (diff) | |
download | ranger-f65e6f08bcf63b7d915d2a2e98d1f6f891cd30de.tar.gz |
Fix crashes when deleting to trash
The execute() method of the trash command (in ranger/config/commands.py) used to pass a list of file paths (as strings) to fm.execute_file(). The documentation of the execute_file() method states that the 'files' parameter must not be strings: [...] files: a list of file objects (not strings!) [...] So I changed 'files' to be a list of File objects and that seems to fix the issue. Fixes #1798
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions