1
0
mirror of https://github.com/arsenetar/send2trash.git synced 2024-12-06 20:59:03 +00:00
send2trash/send2trash
Andrew Senetar 5e4517aa53
Add fallback to HOMETRASH on plat_other
In the case where os.path.ismount() does not detect a mount and os.rename errors
fallback to HOMETRASH.  This covers several situations where continuing with
the identified trash location is incorrect due to complex mounts.

Close #26, #41, #63.
2021-08-20 22:30:51 -05:00
..
__init__.py Fix some flake8 errors and cleanup 2020-06-18 21:47:06 -05:00
__main__.py Black format updates with correct line length 2021-08-17 18:58:11 -05:00
compat.py Fix some flake8 errors and cleanup 2020-06-18 21:47:06 -05:00
exceptions.py Cleanup flake8 issues 2021-03-01 23:44:03 -06:00
IFileOperationProgressSink.py Black format updates with correct line length 2021-08-17 18:58:11 -05:00
plat_gio.py Add ability to handle pathlib paths 2021-08-07 21:48:10 -05:00
plat_osx_ctypes.py Black format updates with correct line length 2021-08-17 18:58:11 -05:00
plat_osx_pyobjc.py Black format updates with correct line length 2021-08-17 18:58:11 -05:00
plat_osx.py Change conditional for macos pyobjc usage 2021-05-14 21:40:16 -05:00
plat_other.py Add fallback to HOMETRASH on plat_other 2021-08-20 22:30:51 -05:00
plat_win_legacy.py Black format updates with correct line length 2021-08-17 18:58:11 -05:00
plat_win_modern.py Black format updates with correct line length 2021-08-17 18:58:11 -05:00
plat_win.py Fix some flake8 errors and cleanup 2020-06-18 21:47:06 -05:00
util.py Black format updates with correct line length 2021-08-17 18:58:11 -05:00