From 5a59748f492ee3d1325bc650e317ccef787c0d8a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 20 Oct 2013 10:43:14 +0900 Subject: [PATCH] fix fallback delete when trash unavailable on win32 --- thirdparty/send2trash/plat_win.py | 1 + 1 file changed, 1 insertion(+) diff --git a/thirdparty/send2trash/plat_win.py b/thirdparty/send2trash/plat_win.py index 96fc8b582..199480701 100644 --- a/thirdparty/send2trash/plat_win.py +++ b/thirdparty/send2trash/plat_win.py @@ -6,6 +6,7 @@ from ctypes import windll, Structure, byref, c_uint from ctypes.wintypes import HWND, UINT, LPCWSTR, BOOL +import os import os.path as op shell32 = windll.shell32