eric6/UI/Browser.py

changeset 8258
82b608e352ec
parent 8228
772103b14c18
child 8260
2161475d9639
diff -r 28146736bbfc -r 82b608e352ec eric6/UI/Browser.py
--- a/eric6/UI/Browser.py	Tue Apr 20 19:47:39 2021 +0200
+++ b/eric6/UI/Browser.py	Wed Apr 21 17:56:12 2021 +0200
@@ -936,7 +936,7 @@
         @type str
         """
         try:
-            from ThirdParty.Send2Trash.send2trash import send2trash as s2t
+            from send2trash import send2trash as s2t
             trashMsg = self.tr("Do you really want to move this file to the"
                                " trash?")
         except ImportError:
@@ -972,7 +972,7 @@
         @type str
         """
         try:
-            from ThirdParty.Send2Trash.send2trash import send2trash
+            from send2trash import send2trash
             s2tAvailable = True
             trashMsg = self.tr("Do you really want to move this directory to"
                                " the trash?")
@@ -1017,7 +1017,7 @@
             fileNames.append(itm.fileName())
         
         try:
-            from ThirdParty.Send2Trash.send2trash import send2trash as s2t
+            from send2trash import send2trash as s2t
             trashMsg = self.tr("Do you really want to move these files to the"
                                " trash?")
         except ImportError:

eric ide

mercurial