1
0
réplica de https://github.com/arsenetar/send2trash.git synced 2025-07-02 21:43:22 +00:00

throwing a WindowsError with the code

Este commit está contenido en:
Julian David Rath 2016-04-12 08:53:04 +02:00
padre 7cbefa4317
commit 6c01453fd3

Ver fichero

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