Browse Source

RemovableDriveOutputDevice: Same for OSX
See 0b0bc8080591a5cce098e9d47ff12224c924347d

Thomas-Karl Pietrowski 9 years ago
parent
commit
19ccfdfbd7
1 changed files with 3 additions and 0 deletions
  1. 3 0
      plugins/RemovableDriveOutputDevice/OSXRemovableDrivePlugin.py

+ 3 - 0
plugins/RemovableDriveOutputDevice/OSXRemovableDrivePlugin.py

@@ -4,6 +4,8 @@
 
 from . import RemovableDrivePlugin
 
+from UM.Logger import Logger
+
 import threading
 
 import subprocess
@@ -46,6 +48,7 @@ class OSXRemovableDrivePlugin(RemovableDrivePlugin.RemovableDrivePlugin):
     def performEjectDevice(self, device):
         p = subprocess.Popen(["diskutil", "eject", path], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
         output = p.communicate()
+        Logger.log("d", "umount returned: %s.", repr(output))
 
         return_code = p.wait()
         if return_code != 0: