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
1 changed files with 2 additions and 2 deletions

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):