1
0
mirror of https://github.com/arsenetar/send2trash.git synced 2024-12-21 10:59:03 +00:00

Merge pull request #47 from pracedru/master

Update plat_other.py
This commit is contained in:
Andrew Senetar 2021-01-21 19:00:46 -06:00 committed by GitHub
commit 60bcb2c834
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,10 +110,10 @@ def trash_move(src, dst, topdir=None):
check_create(filespath)
check_create(infopath)
os.rename(src, op.join(filespath, destname))
with open(op.join(infopath, destname + INFO_SUFFIX), "w") as f:
f.write(info_for(src, topdir))
os.rename(src, op.join(filespath, destname))
def find_mount_point(path):