1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-24 15:59:42 +02:00
This commit is contained in:
dbarzin 2023-03-04 21:48:48 +01:00
parent edcf2979b8
commit 86cf18bb5c
6 changed files with 12 additions and 13 deletions

View file

@ -716,14 +716,12 @@ def clean():
break
# wait for clean
log('PRESS KEY TO CLEAN', flush=True)
screen.getch()
wait_mouse_click()
# check key is still here
try:
os.statvfs(mount_point)
log(f'{str(device.get("ID_FS_LABEL"))}', flush=True)
except Exception:
log("Device not cleaned !", flush=True)
logging.info('device_not_cleaned')
return "WAIT"
# Remove infected files