1
0
Derivar 0

Merge pull request #7 from julian-r/master

throwing a WindowsError with the code
Este cometimento está contido em:
Virgil Dupras 2016-06-04 19:22:46 -04:00
ascendente 7cbefa4317 6c01453fd3
cometimento 0974912e78
1 ficheiros modificados com 1 adições e 3 eliminações

Ver ficheiro

@ -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)