1
0
mirror of https://github.com/arsenetar/send2trash.git synced 2026-03-26 15:51:38 +00:00

Define TrashPermissionError (#21)

This commit is contained in:
Thomas Kluyver
2018-02-06 22:28:47 +00:00
committed by Virgil Dupras
parent f6897609ba
commit 6b0bd46036
4 changed files with 45 additions and 4 deletions

View File

@@ -6,6 +6,8 @@
import sys
from .exceptions import TrashPermissionError
if sys.platform == 'darwin':
from .plat_osx import send2trash
elif sys.platform == 'win32':