Fixed disk state bug with mountDisk

This commit is contained in:
2026-07-29 22:06:44 +01:00
parent 3cb977c31c
commit 81b374aa92

View File

@@ -191,6 +191,7 @@ def mountDisk(state: AppState) -> None:
)
sleep(1)
except subprocess.CalledProcessError:
state.diskState = "disconnected"
pass
else:
state.diskState = "connected"