1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 13:29:42 +02:00

unmount when ok

This commit is contained in:
pandora 2022-07-12 16:49:29 +00:00
parent 98a8a2bbdb
commit 6a2b7eab9f

View file

@ -378,10 +378,10 @@ def device_loop():
else: else:
if not CURSES: if not CURSES:
display_image("OK") display_image("OK")
umount_device()
if device.action == "remove": if device.action == "remove":
log("Device removed") log("Device removed")
umount_device()
if not CURSES: if not CURSES:
display_image("WAIT") display_image("WAIT")
else: else: