Changeset ef69b49dd90d…
Parent 2e17936f934b…
by
Changes to one file · Browse files at ef69b49dd90d Showing diff from parent 2e17936f934b Diff from another changeset...
@@ -488,6 +488,8 @@ trashcan = self.join('Trashcan')
if not os.path.isdir(trashcan):
os.mkdir(trashcan)
+ if not os.path.exists(path):
+ return
name = os.path.basename(path)
root, ext = os.path.splitext(name)
dest = tempfile.mktemp(ext, root, trashcan)
|
Loading...