mirror of
https://github.com/arsenetar/send2trash.git
synced 2026-03-26 15:51:38 +00:00
Renamed _trash_* modules to _send2trash_* and added python wrapper around them.
--HG-- rename : modules/trash_osx.c => modules/send2trash_osx.c rename : modules/trash_win.c => modules/send2trash_win.c
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import sys
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
from plat_osx import send2trash
|
||||
elif sys.platform == 'win32':
|
||||
from plat_win import send2trash
|
||||
else:
|
||||
print "Unsupported platform"
|
||||
|
||||
Reference in New Issue
Block a user