Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5bb6ff9

Browse files
committed
Changed findertools.move() to move() in movetotrash.
1 parent 7aeb6ef commit 5bb6ff9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mac/Lib/findertools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ def movetotrash(path):
681681
"""move the object to the trash"""
682682
fss = macfs.FSSpec(path)
683683
trashfolder = macfs.FSSpec(macfs.FindFolder(fss.as_tuple()[0], 'trsh', 0) + ("",)).as_pathname()
684-
findertools.move(path, trashfolder)
684+
move(path, trashfolder)
685685

686686
def emptytrash():
687687
"""empty the trash"""

0 commit comments

Comments
 (0)