mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
fix fallback delete when trash unavailable on win32
This commit is contained in:
parent
4841858f14
commit
5a59748f49
1 changed files with 1 additions and 0 deletions
1
thirdparty/send2trash/plat_win.py
vendored
1
thirdparty/send2trash/plat_win.py
vendored
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
from ctypes import windll, Structure, byref, c_uint
|
from ctypes import windll, Structure, byref, c_uint
|
||||||
from ctypes.wintypes import HWND, UINT, LPCWSTR, BOOL
|
from ctypes.wintypes import HWND, UINT, LPCWSTR, BOOL
|
||||||
|
import os
|
||||||
import os.path as op
|
import os.path as op
|
||||||
|
|
||||||
shell32 = windll.shell32
|
shell32 = windll.shell32
|
||||||
|
|
Loading…
Reference in a new issue