Commit 5bb6ff92 authored by Jack Jansen's avatar Jack Jansen

Changed findertools.move() to move() in movetotrash.

parent 7aeb6ef9
......@@ -681,7 +681,7 @@ def movetotrash(path):
"""move the object to the trash"""
fss = macfs.FSSpec(path)
trashfolder = macfs.FSSpec(macfs.FindFolder(fss.as_tuple()[0], 'trsh', 0) + ("",)).as_pathname()
findertools.move(path, trashfolder)
move(path, trashfolder)
def emptytrash():
"""empty the trash"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment