aboutsummaryrefslogtreecommitdiffstats
path: root/lib/isodumper.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/isodumper.py')
-rwxr-xr-xlib/isodumper.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index d8b4a8f..9b67c2f 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -275,6 +275,8 @@ class IsoDumper(object):
self.dialog.pollEvent()
def raw_format(self, usb_path, fstype, label):
+ self.u.do_unmount(usb_path)
+ self.udev_wait(_("unmounting"))
self.operation = True
if os.geteuid() > 0:
launcher = 'pkexec'