summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xliveusb/creator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/liveusb/creator.py b/liveusb/creator.py
index f68361f..dfd35e4 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -336,7 +336,7 @@ class LinuxLiveUSBCreator(LiveUSBCreator):
self.callback()
def handleRemoved(path, interfaces):
- if self.drives.has_key(path):
+ if 'org.freedesktop.UDisks2.Block' in interfaces and self.drives.has_key(path):
del self.drives[path]
if self.callback: