Browse Source

Merge pull request #47 from pracedru/master

Update plat_other.py
pull/55/head
Andrew Senetar 2 months ago
committed by GitHub
parent
commit
60bcb2c834
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      send2trash/plat_other.py

+ 2
- 2
send2trash/plat_other.py 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):


Loading…
Cancel
Save