Added longer sleep to mount for flashing
This commit is contained in:
4
main.py
4
main.py
@@ -154,7 +154,7 @@ def mountDisk(state: AppState) -> None:
|
||||
["mkdir", "-p", f"/mnt/{state.config.diskSerial}"],
|
||||
check=True,
|
||||
)
|
||||
sleep(0.5)
|
||||
sleep(2)
|
||||
subprocess.run(
|
||||
[
|
||||
"mount",
|
||||
@@ -165,7 +165,7 @@ def mountDisk(state: AppState) -> None:
|
||||
],
|
||||
check=True,
|
||||
)
|
||||
sleep(0.5)
|
||||
sleep(2)
|
||||
except subprocess.CalledProcessError:
|
||||
pass
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user