의 미러
https://github.com/arsenetar/send2trash.git
synced 2025-07-08 08:23:20 +00:00
Fixed a bug in plat_other where conflict handling wouldn't be done correctly in external volume. Thanks to John Benediktsson for the tip.
This commit is contained in:
부모
2572a7c00c
커밋
31907c9c4a
@ -57,7 +57,7 @@ def move_without_conflict(src, dst):
|
||||
counter += 1
|
||||
base_name, ext = op.splitext(filename)
|
||||
new_filename = '{0} {1}{2}'.format(base_name, counter, ext)
|
||||
destpath = op.join(TRASH_PATH, new_filename)
|
||||
destpath = op.join(dst, new_filename)
|
||||
os.rename(src, destpath)
|
||||
|
||||
def send2trash(path):
|
||||
|
불러오는 중...
x
Reference in New Issue
Block a user