1
0
镜像自地址 https://github.com/arsenetar/send2trash.git 已同步 2025-07-14 18:43:21 +00:00

Merge pull request #7 from julian-r/master

throwing a WindowsError with the code
这个提交包含在:
Virgil Dupras 2016-06-04 19:22:46 -04:00
当前提交 0974912e78

查看文件

@ -54,6 +54,4 @@ def send2trash(path):
fileop.lpszProgressTitle = None
result = SHFileOperationW(byref(fileop))
if result:
msg = "Couldn't perform operation. Error code: %d" % result
raise OSError(msg)
raise WindowsError(None, None, path, result)