From 6a2b7eab9f0587c2f1c515dd5bb28fe88b1e0702 Mon Sep 17 00:00:00 2001 From: pandora Date: Tue, 12 Jul 2022 16:49:29 +0000 Subject: [PATCH] unmount when ok --- pandora-box.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora-box.py b/pandora-box.py index daf4b76..e158b33 100755 --- a/pandora-box.py +++ b/pandora-box.py @@ -378,10 +378,10 @@ def device_loop(): else: if not CURSES: display_image("OK") + umount_device() if device.action == "remove": log("Device removed") - umount_device() if not CURSES: display_image("WAIT") else: