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:
parent
98a8a2bbdb
commit
6a2b7eab9f
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue